Home
last modified time | relevance | path

Searched hist:"1 f139ed9" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/ipv6/
H A Daf_inet6.c1f139ed9 Mon Jul 31 03:09:41 CDT 2017 Jakub Sitnicki <jkbs@redhat.com> ipv6: Avoid going through ->sk_net to access the netns

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@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1f139ed9 Mon Jul 31 03:09:41 CDT 2017 Jakub Sitnicki <jkbs@redhat.com> ipv6: Avoid going through ->sk_net to access the netns

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@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>