Re: [PATCH 4/8] Auto-zero the allocated sock object
From: David Miller <davem@davemloft.net>
Date: 2007-11-01 07:35:01
From: David Miller <davem@davemloft.net>
Date: 2007-11-01 07:35:01
From: Pavel Emelyanov <redacted> 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 <redacted>
Applied.