ipv6: Cache net in ip6_output
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 16 Sep 2015 01:04:10 +0000 (20:04 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Sep 2015 00:18:36 +0000 (17:18 -0700)
commit19a0644ca31c7e22abdb4058ea013f1f7abf7327
treed3846d6f7bedd6299b39dfe54b9631902c8f7c9a
parent78126c41907e999979635855b6b1b24aa46f53d8
ipv6: Cache net in ip6_output

Keep net in a local variable so I can use it in NF_HOOK_COND
when I pass struct net to all of the netfilter hooks.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_output.c