diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2010-02-18 11:25:24 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-19 01:30:17 +0300 |
commit | 3ffe533c87281b68d469b279ff3a5056f9c75862 (patch) | |
tree | 456d4c8c877e937fd4919e4c30c75a7bb9f6651f /net/ipv4/ip_gre.c | |
parent | bbef49daca35d4fd21bf606a10b6980f17d9df5d (diff) | |
download | linux-3ffe533c87281b68d469b279ff3a5056f9c75862.tar.xz |
ipv6: drop unused "dev" arg of icmpv6_send()
Dunno, what was the idea, it wasn't used for a long time.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_gre.c')
-rw-r--r-- | net/ipv4/ip_gre.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ip_gre.c b/net/ipv4/ip_gre.c index a2a5983dbf03..c0c5274d0271 100644 --- a/net/ipv4/ip_gre.c +++ b/net/ipv4/ip_gre.c @@ -793,7 +793,7 @@ static netdev_tx_t ipgre_tunnel_xmit(struct sk_buff *skb, struct net_device *dev } if (mtu >= IPV6_MIN_MTU && mtu < skb->len - tunnel->hlen + gre_hlen) { - icmpv6_send(skb, ICMPV6_PKT_TOOBIG, 0, mtu, dev); + icmpv6_send(skb, ICMPV6_PKT_TOOBIG, 0, mtu); ip_rt_put(rt); goto tx_error; } |