netdev
[Top] [All Lists]

[janitor] inetpeer: kmem_cache_create() failure

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>