ipvs: Cache ipvs in ip_vs_in_icmp and ip_vs_in_icmp_v6
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 21 Sep 2015 18:02:00 +0000 (13:02 -0500)
committerSimon Horman <horms@verge.net.au>
Thu, 24 Sep 2015 00:34:35 +0000 (09:34 +0900)
commita47b4300801978745bca9fd08d848b9024eed797
tree50214a82ab27b279fd06a0548ea1109df0a91ca5
parentc60856c687d601e908950289f5b3917253e98cb6
ipvs: Cache ipvs in ip_vs_in_icmp and ip_vs_in_icmp_v6

Storte the value of net_ipvs in a variable named ipvs so that when
there are more users struct netns_ipvs in ip_vs_in_cmp and
ip_vs_in_icmp_v6 they won't need to compute the value again.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/netfilter/ipvs/ip_vs_core.c