From: Daniel Lezcano Date: Fri, 7 Dec 2007 08:45:16 +0000 (-0800) Subject: [IPV6] route6/fib6: Don't panic a kmem_cache_create. X-Git-Tag: v2.6.25-rc1~1162^2~1187 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f845ab6b7dd872d027c27146c264e46bc16c656a;p=pandora-kernel.git [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 Acked-by: Benjamin Thery Signed-off-by: David S. Miller --- Reading git-diff-tree failed