Messages in this thread Patch in this message |  | | Date | Wed, 30 Aug 2000 13:17:16 +0100 (BST) | From | Tigran Aivazian <> | Subject | [patch-2.4.0-test8-pre1] buglet in sk_init(). |
| |
Hi Linus,
The sock slab cache is critical so one ought to panic if it can't be created, like we do for all other slab caches.
Regards, Tigran
--- linux/net/core/sock.c Thu Aug 24 08:08:47 2000 +++ work/net/core/sock.c Wed Aug 30 13:13:48 2000 @@ -609,7 +609,9 @@ { sk_cachep = kmem_cache_create("sock", sizeof(struct sock), 0, SLAB_HWCACHE_ALIGN, 0, 0); - + if (!sk_cachep) + panic("Cannot create sock SLAB cache"); + if (num_physpages <= 4096) { sysctl_wmem_max = 32767; sysctl_rmem_max = 32767; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |