diff options
author | David S. Miller <davem@davemloft.net> | 2012-01-27 18:30:48 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-27 21:00:08 -0500 |
commit | 4991969a1027826c3db19dd3e600e145603e6928 (patch) | |
tree | 87e2986e22f64b746e550ba377a2b59f20b199a9 /net/ipv6/ip6_output.c | |
parent | 5339ab8b1dd82f14df168fb9bf59449f3e24b03d (diff) |
ipv6: Remove neigh argument from ndisc_send_redirect()
Instead, compute it as-needed inside of that function using
dst_neigh_lookup().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_output.c')
-rw-r--r-- | net/ipv6/ip6_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c index d97e07183ce9..604809b89b67 100644 --- a/net/ipv6/ip6_output.c +++ b/net/ipv6/ip6_output.c | |||
@@ -486,7 +486,7 @@ int ip6_forward(struct sk_buff *skb) | |||
486 | and by source (inside ndisc_send_redirect) | 486 | and by source (inside ndisc_send_redirect) |
487 | */ | 487 | */ |
488 | if (inet_peer_xrlim_allow(rt->rt6i_peer, 1*HZ)) | 488 | if (inet_peer_xrlim_allow(rt->rt6i_peer, 1*HZ)) |
489 | ndisc_send_redirect(skb, n, target); | 489 | ndisc_send_redirect(skb, target); |
490 | } else { | 490 | } else { |
491 | int addrtype = ipv6_addr_type(&hdr->saddr); | 491 | int addrtype = ipv6_addr_type(&hdr->saddr); |
492 | 492 | ||