linux/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
Kconfig
Makefile
br.c
br_device.c
br_fdb.c [PATCH] slab: remove kmem_cache_t 2006-12-07 08:39:25 -08:00
br_forward.c
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
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
br_private.h WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
br_private_stp.h
br_stp.c
br_stp_bpdu.c
br_stp_if.c [BRIDGE]: flush forwarding table when device carrier off 2006-10-15 23:14:13 -07:00
br_stp_timer.c
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