diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2010-02-18 03:25:24 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-18 17:30:17 -0500 |
commit | 3ffe533c87281b68d469b279ff3a5056f9c75862 (patch) | |
tree | 456d4c8c877e937fd4919e4c30c75a7bb9f6651f /net/ipv6/route.c | |
parent | bbef49daca35d4fd21bf606a10b6980f17d9df5d (diff) |
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/ipv6/route.c')
-rw-r--r-- | net/ipv6/route.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 8500156f2637..88c0a5c49ae8 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c | |||
@@ -909,7 +909,7 @@ static void ip6_link_failure(struct sk_buff *skb) | |||
909 | { | 909 | { |
910 | struct rt6_info *rt; | 910 | struct rt6_info *rt; |
911 | 911 | ||
912 | icmpv6_send(skb, ICMPV6_DEST_UNREACH, ICMPV6_ADDR_UNREACH, 0, skb->dev); | 912 | icmpv6_send(skb, ICMPV6_DEST_UNREACH, ICMPV6_ADDR_UNREACH, 0); |
913 | 913 | ||
914 | rt = (struct rt6_info *) skb_dst(skb); | 914 | rt = (struct rt6_info *) skb_dst(skb); |
915 | if (rt) { | 915 | if (rt) { |
@@ -1884,7 +1884,7 @@ static int ip6_pkt_drop(struct sk_buff *skb, u8 code, int ipstats_mib_noroutes) | |||
1884 | ipstats_mib_noroutes); | 1884 | ipstats_mib_noroutes); |
1885 | break; | 1885 | break; |
1886 | } | 1886 | } |
1887 | icmpv6_send(skb, ICMPV6_DEST_UNREACH, code, 0, skb->dev); | 1887 | icmpv6_send(skb, ICMPV6_DEST_UNREACH, code, 0); |
1888 | kfree_skb(skb); | 1888 | kfree_skb(skb); |
1889 | return 0; | 1889 | return 0; |
1890 | } | 1890 | } |