linux/net/decnet
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 [NETLINK]: Encapsulate eff_cap usage within security framework. 2006-06-29 16:57:55 -07:00
af_decnet.c [DECNET]: Endianess fixes (try #2) 2006-11-07 15:10:17 -08:00
dn_dev.c [NETLINK]: Don't BUG on undersized allocations 2007-02-08 12:38:41 -08:00
dn_fib.c [DECNET]: cleanups 2006-09-22 14:54:40 -07:00
dn_neigh.c [DECNET]: Don't clear memory twice. 2006-12-02 21:21:36 -08:00
dn_nsp_in.c [NET]: Conditionally use bh_lock_sock_nested in sk_receive_skb 2006-12-02 21:23:51 -08:00
dn_nsp_out.c [DECNET]: Endianess fixes (try #2) 2006-11-07 15:10:17 -08:00
dn_route.c [RTNETLINK]: Add rtnl_put_cacheinfo() to unify some code 2006-12-02 21:30:44 -08:00
dn_rules.c [DECNET]: Fix build regressions. 2006-12-02 21:22:15 -08:00
dn_table.c [NETLINK]: Don't BUG on undersized allocations 2007-02-08 12:38:41 -08:00
dn_timer.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig [NET]: Rethink mark field in struct flowi 2006-12-02 21:21:39 -08:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
README Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sysctl_net_decnet.c [PATCH] sysctl: remove unused "context" param 2006-12-10 09:55:41 -08:00
TODO Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00

                       Linux DECnet Project
                      ======================

The documentation for this kernel subsystem is available in the
Documentation/networking subdirectory of this distribution and also
on line at http://www.chygwyn.com/DECnet/

Steve Whitehouse <SteveW@ACM.org>