git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c308c1b
)
[NET]: Auto-zero the allocated sock object
author
Pavel Emelyanov
<xemul@openvz.org>
Thu, 1 Nov 2007 07:34:42 +0000
(
00:34
-0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 1 Nov 2007 07:34:42 +0000
(
00:34
-0700)
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@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found