]> err.no Git - linux-2.6/commit
[NETLINK]: Call panic if nl_table allocation fails
authorAkinobu Mita <mita@miraclelinux.com>
Tue, 29 Aug 2006 09:15:24 +0000 (02:15 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 30 Aug 2006 04:22:18 +0000 (21:22 -0700)
commitfab2caf62ed03d83bd3a3598b859c3c345a8e8b5
treeb72cbc8e158fe6d7f71f21d3007a47eba41123b3
parent3fdf3f0c99e90e167f0d0643fcc8739e27456697
[NETLINK]: Call panic if nl_table allocation fails

This patch makes crash happen if initialization of nl_table fails
in initcalls. It is better than getting use after free crash later.

Signed-off-by: Akinobu Mita <mita@miraclelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlink/af_netlink.c