kernel-ark/net/bridge
Patrick McHardy 26932566a4 [NETLINK]: Don't BUG on undersized allocations
Currently netlink users BUG when the allocated skb for an event
notification is undersized. While this is certainly a kernel bug,
its not critical and crashing the kernel is too drastic, especially
when considering that these errors have appeared multiple times in
the past and it BUGs even if no listeners are present.

This patch replaces BUG by WARN_ON and changes the notification
functions to inform potential listeners of undersized allocations
using a unique error code (EMSGSIZE).

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-02-08 12:38:41 -08:00
..
netfilter [NETFILTER]: ebtables: don't compute gap before checking struct type 2007-01-04 12:17:44 -08:00
br_device.c [NET]: Added GSO header verification 2006-06-29 16:57:53 -07:00
br_fdb.c [PATCH] slab: remove kmem_cache_t 2006-12-07 08:39:25 -08:00
br_forward.c [NETFILTER] bridge: code rearrangement for clarity 2006-09-22 15:18:30 -07:00
br_if.c Network: convert network devices to use struct device instead of class_device 2007-02-07 10:37:11 -08:00
br_input.c [BRIDGE]: keep track of received multicast packets 2006-05-05 17:07:13 -07:00
br_ioctl.c [PATCH] bridge: fix possible overflow in get_fdb_entries 2006-11-28 17:26:50 -08:00
br_netfilter.c [NETFILTER]: bridge-netfilter: remove deferred hooks 2006-12-13 16:54:25 -08:00
br_netlink.c [NETLINK]: Don't BUG on undersized allocations 2007-02-08 12:38:41 -08:00
br_notify.c [BRIDGE]: netlink interface for link management 2006-06-17 21:26:14 -07:00
br_private_stp.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
br_private.h WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
br_stp_bpdu.c [BRIDGE]: random extra bytes on STP TCN packet 2006-09-17 23:21:08 -07:00
br_stp_if.c [BRIDGE]: flush forwarding table when device carrier off 2006-10-15 23:14:13 -07:00
br_stp_timer.c [BRIDGE]: use setup_timer 2006-03-20 22:56:38 -08:00
br_stp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
br_sysfs_br.c Network: convert network devices to use struct device instead of class_device 2007-02-07 10:37:11 -08:00
br_sysfs_if.c Network: convert network devices to use struct device instead of class_device 2007-02-07 10:37:11 -08:00
br.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Kconfig [BRIDGE]: use llc for receiving STP packets 2006-03-20 22:59:06 -08:00
Makefile [BRIDGE]: netlink interface for link management 2006-06-17 21:26:14 -07:00