diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2013-09-02 09:34:54 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-04 00:27:25 -0400 |
commit | 8b7ed2d91d6afb0b55ba75f94b66e51f70783a46 (patch) | |
tree | 7bd59ac4b18e8d98dc4a215d20024fdabae713bd /net/ipv4/ip_tunnel.c | |
parent | c48268611a3df84a9250d2fc34ad671cdae43440 (diff) |
iptunnels: remove net arg from iptunnel_xmit()
This argument is not used, let's remove it.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_tunnel.c')
-rw-r--r-- | net/ipv4/ip_tunnel.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/ip_tunnel.c b/net/ipv4/ip_tunnel.c index 830de3f4e293..0a6cf0e69478 100644 --- a/net/ipv4/ip_tunnel.c +++ b/net/ipv4/ip_tunnel.c | |||
@@ -654,8 +654,7 @@ void ip_tunnel_xmit(struct sk_buff *skb, struct net_device *dev, | |||
654 | } | 654 | } |
655 | } | 655 | } |
656 | 656 | ||
657 | err = iptunnel_xmit(tunnel->net, rt, skb, | 657 | err = iptunnel_xmit(rt, skb, fl4.saddr, fl4.daddr, protocol, |
658 | fl4.saddr, fl4.daddr, protocol, | ||
659 | ip_tunnel_ecn_encap(tos, inner_iph, skb), ttl, df); | 658 | ip_tunnel_ecn_encap(tos, inner_iph, skb), ttl, df); |
660 | iptunnel_xmit_stats(err, &dev->stats, dev->tstats); | 659 | iptunnel_xmit_stats(err, &dev->stats, dev->tstats); |
661 | 660 | ||