[Devel] Re: [PATCH 2/8] Move the get_net() from sock_copy()

David Miller davem at davemloft.net
Thu Nov 1 00:32:37 PDT 2007


From: Pavel Emelyanov <xemul at openvz.org>
Date: Wed, 31 Oct 2007 16:44:40 +0300

> 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 at openvz.org>

Applied.




More information about the Devel mailing list