commit | 1e2e6b89f1d3152da0606d23e65e8760bf62a4c3 | [log] [tgz] |
---|---|---|
author | Pavel Emelyanov <xemul@openvz.org> | Thu Nov 01 00:31:26 2007 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 01 00:31:26 2007 -0700 |
tree | 75cbf6c0a5b2a0e708261d3799c7797a371f8a1d | |
parent | f1a6c4da14c365d3ee0b5de43a93f7470982637c [diff] |
[NET]: Move the get_net() from sock_copy() The sock_copy() is supposed to just clone the socket. In a perfect world it has to be just memcpy, but we have to handle the security mark correctly. All the extra setup must be performed in sk_clone() call, so move the get_net() into more proper place. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>