From: Pavel Emelyanov <[EMAIL PROTECTED]>
Date: Wed, 31 Oct 2007 16:48:59 +0300
> We have a __GFP_ZERO flag that allocates a zeroed chunk of memory.
> Use it in the sk_alloc() and avoid a hand-made memset().
>
> This is a temporary patch that will help us in the nearest future :)
>
> Signed-off-
We have a __GFP_ZERO flag that allocates a zeroed chunk of memory.
Use it in the sk_alloc() and avoid a hand-made memset().
This is a temporary patch that will help us in the nearest future :)
Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]>
---
diff --git a/net/core/sock.c b/net/core/sock.c