[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170731.180220.2263455500433186111.davem@davemloft.net>
Date: Mon, 31 Jul 2017 18:02:20 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jkbs@...hat.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] ipv6: Avoid going through ->sk_net to access
the netns
From: Jakub Sitnicki <jkbs@...hat.com>
Date: Mon, 31 Jul 2017 10:09:41 +0200
> There is no need to go through sk->sk_net to access the net namespace
> and its sysctl variables because we allocate the sock and initialize
> sk_net just a few lines earlier in the same routine.
>
> Signed-off-by: Jakub Sitnicki <jkbs@...hat.com>
Applied, thanks.
Powered by blists - more mailing lists