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:
1e2e6b8
)
[NET]: Cleanup the allocation/freeing of the sock object
author
Pavel Emelyanov
<xemul@openvz.org>
Thu, 1 Nov 2007 07:33:50 +0000
(
00:33
-0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 1 Nov 2007 07:33:50 +0000
(
00:33
-0700)
The sock object is allocated either from the generic cache with
the kmalloc, or from the proc->slab cache.
Move this logic into an isolated set of helpers and make the
sk_alloc/sk_free look a bit nicer.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found