commit | 1f139ed9ec40521b4497aa34e107d38bb082b0e0 | [log] [tgz] |
---|---|---|
author | Jakub Sitnicki <jkbs@redhat.com> | Mon Jul 31 10:09:41 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 31 18:01:33 2017 -0700 |
tree | 92e16f99915b618181b4b7b4a9642b81f6ad1cdc | |
parent | 98c13bb750b532ab28798d5ff0cb6f951b225fbd [diff] |
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>