commit | c308c1b20e2eb7b13f200a7c18b3f23561318367 | [log] [tgz] |
---|---|---|
author | Pavel Emelyanov <xemul@openvz.org> | Thu Nov 01 00:33:50 2007 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 01 00:33:50 2007 -0700 |
tree | 1e0c1012b6b72d9fb9689f43e50ab8441b9ed4f3 | |
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>