diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2007-11-01 00:33:50 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-11-01 00:33:50 -0700 |
commit | c308c1b20e2eb7b13f200a7c18b3f23561318367 (patch) | |
tree | 1e0c1012b6b72d9fb9689f43e50ab8441b9ed4f3 /net/core/iovec.c | |
parent | 1e2e6b89f1d3152da0606d23e65e8760bf62a4c3 (diff) |
[NET]: Cleanup the allocation/freeing of the sock object
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>
Diffstat (limited to 'net/core/iovec.c')
0 files changed, 0 insertions, 0 deletions