commit | 8fd1d178a3f177777707ee782f12d93e9a7eb5e5 | [log] [tgz] |
---|---|---|
author | Pavel Emelyanov <xemul@openvz.org> | Thu Nov 01 00:37:32 2007 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 01 00:37:32 2007 -0700 |
tree | b1466bbdbc3b700b361cdf3a8b56650281984b79 | |
parent | 2e4afe7b35458beedba418a6e2aaf0b0ac82cc18 [diff] |
[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>