* [janitor] ipv6 fib: handle kmem_cache_create() failure
@ 2004-02-23 21:37 Randy.Dunlap
2004-02-23 23:14 ` David S. Miller
0 siblings, 1 reply; 2+ messages in thread
From: Randy.Dunlap @ 2004-02-23 21:37 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/ipv6/ip6_fib.c | 2 ++
1 files changed, 2 insertions(+)
diff -puN net/ipv6/ip6_fib.c~ipv6_fib_kmemcc net/ipv6/ip6_fib.c
--- linux-263-kj1/net/ipv6/ip6_fib.c~ipv6_fib_kmemcc 2004-02-18 14:41:32.000000000 -0800
+++ linux-263-kj1-rddunlap/net/ipv6/ip6_fib.c 2004-02-18 14:41:32.000000000 -0800
@@ -1239,6 +1239,8 @@ void __init fib6_init(void)
sizeof(struct fib6_node),
0, SLAB_HWCACHE_ALIGN,
NULL, NULL);
+ if (!fib6_node_kmem)
+ panic("cannot create fib6_nodes cache");
}
#ifdef MODULE
_
--
~Randy
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [janitor] ipv6 fib: handle kmem_cache_create() failure
2004-02-23 21:37 [janitor] ipv6 fib: handle kmem_cache_create() failure Randy.Dunlap
@ 2004-02-23 23:14 ` David S. Miller
0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2004-02-23 23:14 UTC (permalink / raw)
To: Randy.Dunlap; +Cc: netdev
On Mon, 23 Feb 2004 13:37:02 -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/ipv6/ip6_fib.c | 2 ++
> 1 files changed, 2 insertions(+)
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-02-23 23:14 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:37 [janitor] ipv6 fib: handle kmem_cache_create() failure Randy.Dunlap
2004-02-23 23:14 ` 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).