summaryrefslogtreecommitdiffstats
path: root/net/econet
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2007-11-01 08:37:32 +0100
committerDavid S. Miller <davem@davemloft.net>2007-11-01 08:37:32 +0100
commit8fd1d178a3f177777707ee782f12d93e9a7eb5e5 (patch)
treeb1466bbdbc3b700b361cdf3a8b56650281984b79 /net/econet
parent[NET]: Move some core sock setup into sk_prot_alloc (diff)
downloadlinux-8fd1d178a3f177777707ee782f12d93e9a7eb5e5.tar.xz
linux-8fd1d178a3f177777707ee782f12d93e9a7eb5e5.zip
[NET]: Make the sk_clone() lighter
The sk_prot_alloc() already performs all the stuff needed by the sk_clone(). Besides, the sk_prot_alloc() requires almost twice less arguments than the sk_alloc() does, so call the sk_prot_alloc() saving the stack a bit. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/econet')
0 files changed, 0 insertions, 0 deletions