ipv4 ipmr: handle kmem_cache_create() failure
Subsystems (3)
Hi,
Please apply to 2.6.3-current.
From: <[email protected]>(Walter Harms)
linux-263-kj1-rddunlap/net/ipv4/ipmr.c | 3 +++ 1 files changed, 3 insertions(+)
net/ipv4/ipmr.c renamed from net/ipv4/ipmr.c~ipv4_ipmr_kmemcc +3 -0
@@ -1892,6 +1892,9 @@ void __init ip_mr_init(void)sizeof (struct mfc_cache ),0 ,SLAB_HWCACHE_ALIGN , NULL, NULL); +if (!mrt_cachep) +panic ("cannot allocate ip_mrt_cache" ); +init_timer (&ipmr_expire_timer); ipmr_expire_timer.function=ipmr_expire_process;register_netdevice_notifier (&ip_mr_notifier);
_
--
~Randy
David S. Miller
AppliedQuoted 1 line · On Mon, 23 Feb 2004 13:36:51 -0800 "Randy.Dunlap" <[email protected]> wrote:
Please apply to 2.6.3-current.
...
Quoted 1 line
From: <[email protected]>(Walter Harms)
...
Quoted 2 lines
linux-263-kj1-rddunlap/net/ipv4/ipmr.c | 3 +++ 1 files changed, 3 insertions(+)
Applied, thanks.