| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | [janitor] inetpeer: kmem_cache_create() failure |
| From: | "Randy.Dunlap" <rddunlap@xxxxxxxx> |
| Date: | Mon, 23 Feb 2004 13:36:35 -0800 |
| Cc: | davem@xxxxxxxxxx |
| Organization: | OSDL |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Hi,
Please apply to 2.6.3-current.
From: <WHarms@xxxxxx>(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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [janitor] ne: eliminate unused var. warning, Randy.Dunlap |
|---|---|
| Next by Date: | [janitor] ipv4 ipmr: handle kmem_cache_create() failure, Randy.Dunlap |
| Previous by Thread: | [janitor] ne: eliminate unused var. warning, Randy.Dunlap |
| Next by Thread: | Re: [janitor] inetpeer: kmem_cache_create() failure, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |