ipvs: Better derivation of ipvs in ip_vs_tunnel_xmit
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 21 Sep 2015 18:02:44 +0000 (13:02 -0500)
committerSimon Horman <horms@verge.net.au>
Thu, 24 Sep 2015 00:34:41 +0000 (09:34 +0900)
commit361c3f529332b28408ba7f8e8a4fa3ac23c855ff
tree28eb9bec3617c4df3e3018cc207bb29d3da73437
parentd8f44c335a1111d647f41e9fa6ae65b18db112e4
ipvs: Better derivation of ipvs in ip_vs_tunnel_xmit

Don't use "net_ipvs(skb_net(skb))" as skb_net is a bad hack.  Instead
use cp->ipvs and ipvs->net for the net.

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_xmit.c