From: Pavel Emelyanov Date: Thu, 1 Nov 2007 07:31:26 +0000 (-0700) Subject: [NET]: Move the get_net() from sock_copy() X-Git-Tag: v2.6.24-rc2~56^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e2e6b89f1d3152da0606d23e65e8760bf62a4c3;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed