[Devel] Re: [PATCH 4/8] Auto-zero the allocated sock object
David Miller
davem at davemloft.net
Thu Nov 1 00:35:00 PDT 2007
From: Pavel Emelyanov <xemul at openvz.org>
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-by: Pavel Emelyanov <xemul at openvz.org>
Applied.
More information about the Devel
mailing list