* [janitor] inetpeer: kmem_cache_create() failure
@ 2004-02-23 21:36 Randy.Dunlap
2004-02-23 23:12 ` 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/inetpeer.c | 3 +++
1 files changed, 3 insertions(+)
diff -puN net/ipv4/inetpeer.c~ipv4_inetpeer_kmemcc net/ipv4/inetpeer.c
--- linux-263-kj1/net/ipv4/inetpeer.c~ipv4_inetpeer_kmemcc 2004-02-18 14:41:08.000000000 -0800
+++ linux-263-kj1-rddunlap/net/ipv4/inetpeer.c 2004-02-18 14:41:08.000000000 -0800
@@ -129,6 +129,9 @@ void __init inet_initpeers(void)
0, SLAB_HWCACHE_ALIGN,
NULL, NULL);
+ if (!peer_cachep)
+ panic("cannot create inet_peer_cache");
+
/* All the timers, started at system startup tend
to synchronize. Perturb it a bit.
*/
_
--
~Randy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-02-23 23:12 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] inetpeer: kmem_cache_create() failure Randy.Dunlap
2004-02-23 23:12 ` 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).