netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [janitor] ipv6 route: 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/route.c |    3 +++
 1 files changed, 3 insertions(+)

diff -puN net/ipv6/route.c~ipv6_route_kmemcc net/ipv6/route.c
--- linux-263-kj1/net/ipv6/route.c~ipv6_route_kmemcc	2004-02-18 14:41:42.000000000 -0800
+++ linux-263-kj1-rddunlap/net/ipv6/route.c	2004-02-18 14:41:42.000000000 -0800
@@ -1987,6 +1987,9 @@ void __init ip6_route_init(void)
 						     sizeof(struct rt6_info),
 						     0, SLAB_HWCACHE_ALIGN,
 						     NULL, NULL);
+	if (!ip6_dst_ops.kmem_cachep)
+		panic("cannot create ip6_dst_cache");
+
 	fib6_init();
 #ifdef 	CONFIG_PROC_FS
 	p = proc_net_create("ipv6_route", 0, rt6_proc_info);

_


--
~Randy

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [janitor] ipv6 route: handle kmem_cache_create() failure
  2004-02-23 21:37 [janitor] ipv6 route: 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:11 -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/route.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: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 route: 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).