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

2007-10-31 Thread David Miller
From: Pavel Emelyanov <[EMAIL PROTECTED]> 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, s

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

2007-10-31 Thread Pavel Emelyanov
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 <[EMAIL PROT