* [janitor] ipv4 ipmr: handle kmem_cache_create() failure
@ 2004-02-23 21:36 Randy.Dunlap
2004-02-23 23:13 ` David S. Miller
0 siblings, 1 reply; 2+ messages in thread
From: Randy.Dunlap @ 2004-02-23 21:36 UTC (permalink / raw)
To: netdev; +Cc: davem
Hi,
Please apply to 2.6.3-current.
From: <WHarms@bfs.de>(Walter Harms)
linux-263-kj1-rddunlap/net/ipv4/ipmr.c | 3 +++
1 files changed, 3 insertions(+)
diff -puN net/ipv4/ipmr.c~ipv4_ipmr_kmemcc net/ipv4/ipmr.c
--- linux-263-kj1/net/ipv4/ipmr.c~ipv4_ipmr_kmemcc 2004-02-18 14:41:20.000000000 -0800
+++ linux-263-kj1-rddunlap/net/ipv4/ipmr.c 2004-02-18 14:41:20.000000000 -0800
@@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [janitor] ipv4 ipmr: handle kmem_cache_create() failure
2004-02-23 21:36 [janitor] ipv4 ipmr: handle kmem_cache_create() failure Randy.Dunlap
@ 2004-02-23 23:13 ` David S. Miller
0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2004-02-23 23:13 UTC (permalink / raw)
To: Randy.Dunlap; +Cc: netdev
On Mon, 23 Feb 2004 13:36:51 -0800
"Randy.Dunlap" <rddunlap@osdl.org> wrote:
> Please apply to 2.6.3-current.
...
> From: <WHarms@bfs.de>(Walter Harms)
...
> linux-263-kj1-rddunlap/net/ipv4/ipmr.c | 3 +++
> 1 files changed, 3 insertions(+)
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-02-23 23:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-23 21:36 [janitor] ipv4 ipmr: handle kmem_cache_create() failure Randy.Dunlap
2004-02-23 23:13 ` David S. Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).