ipvs: Pass ipvs into ip_vs_in_icmp and ip_vs_in_icmp_v6
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 21 Sep 2015 18:02:54 +0000 (13:02 -0500)
committerSimon Horman <horms@verge.net.au>
Thu, 24 Sep 2015 00:34:43 +0000 (09:34 +0900)
commit6f2bcea9917d85ff78b3a497e4a96b77b7bc2dd0
tree4484c9ef4a690eec582c4d5b8ec2da64b12cd966
parent6e385bb3efdbfaf09b564b93b2a834006802de84
ipvs: Pass ipvs into ip_vs_in_icmp and ip_vs_in_icmp_v6

With ipvs passed into ip_vs_in_icmp and ip_vs_in_icmp_v6
they no longer need to call the hack that is skb_net.

Additionally ipvs_in_icmp no longer needs to call dev_net(skb->dev)
and can use the ipvs->net instead.

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