From: Pavel Emelyanov <[EMAIL PROTECTED]>
Date: Wed, 31 Oct 2007 16:47:00 +0300
> The sock object is allocated either from the generic cache with
> the kmalloc, or from the proc->slab cache.
>
> Move this logic into an isolated set of helpers and make the
> sk_alloc/sk_free look a bit nicer.
>
>
The sock object is allocated either from the generic cache with
the kmalloc, or from the proc->slab cache.
Move this logic into an isolated set of helpers and make the
sk_alloc/sk_free look a bit nicer.
Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]>
---
diff --git a/net/core/sock.c b/net/co