From: Pavel Emelyanov Date: Thu, 1 Nov 2007 07:34:42 +0000 (-0700) Subject: [NET]: Auto-zero the allocated sock object X-Git-Tag: v2.6.24-rc2~56^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f0666ee3039443fa7b7cf436dd16ce0dd8e3f95;p=pandora-kernel.git [NET]: Auto-zero the allocated sock object 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed