aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorPavel Emelyanov <[email protected]>2007-11-01 07:33:50 +0000
committerDavid S. Miller <[email protected]>2007-11-01 07:33:50 +0000
commitc308c1b20e2eb7b13f200a7c18b3f23561318367 (patch)
tree1e0c1012b6b72d9fb9689f43e50ab8441b9ed4f3 /net/unix/af_unix.c
parent[NET]: Move the get_net() from sock_copy() (diff)
downloadkernel-c308c1b20e2eb7b13f200a7c18b3f23561318367.tar.gz
kernel-c308c1b20e2eb7b13f200a7c18b3f23561318367.zip
[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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions