Re: [PATCH net-next] ipv6: Avoid going through ->sk_net to access the netns

2017-07-31 Thread David Miller
From: Jakub Sitnicki 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 App

[PATCH net-next] ipv6: Avoid going through ->sk_net to access the netns

2017-07-31 Thread Jakub Sitnicki
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 --- net/ipv6/af_inet6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion