aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorDaniel Lezcano <[email protected]>2007-12-07 08:45:16 +0000
committerDavid S. Miller <[email protected]>2008-01-28 22:56:48 +0000
commitf845ab6b7dd872d027c27146c264e46bc16c656a (patch)
tree4d37b1e258ccb4b07a0b9375279e5af79c42f3d0 /net/lapb/lapb_iface.c
parent[IPV6]: Make af_inet6 to check ip6_route_init return value. (diff)
downloadkernel-f845ab6b7dd872d027c27146c264e46bc16c656a.tar.gz
kernel-f845ab6b7dd872d027c27146c264e46bc16c656a.zip
[IPV6] route6/fib6: Don't panic a kmem_cache_create.
If the kmem_cache_creation fails, the kernel will panic. It is acceptable if the system is booting, but if the ipv6 protocol is compiled as a module and it is loaded after the system has booted, do we want to panic instead of just failing to initialize the protocol ? The init function is now returning an error and this one is checked for protocol initialization. So the ipv6 protocol will safely fails. Signed-off-by: Daniel Lezcano <[email protected]> Acked-by: Benjamin Thery <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions