From: "Randy.Dunlap" <rddunlap@osdl.org>
To: netdev@oss.sgi.com
Cc: davem@redhat.com
Subject: [janitor] ipv6 fib: handle kmem_cache_create() failure
Date: Mon, 23 Feb 2004 13:37:02 -0800 [thread overview]
Message-ID: <20040223133702.34ba5b05.rddunlap@osdl.org> (raw)
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
next reply other threads:[~2004-02-23 21:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-23 21:37 Randy.Dunlap [this message]
2004-02-23 23:14 ` [janitor] ipv6 fib: handle kmem_cache_create() failure David S. Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040223133702.34ba5b05.rddunlap@osdl.org \
--to=rddunlap@osdl.org \
--cc=davem@redhat.com \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).