diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2005-10-05 12:11:41 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-10-05 12:11:41 -0700 |
commit | 140e26fcd559f6988e5a9056385eecade19d9b49 (patch) | |
tree | 14ec393098c1f8b9082e959c6d3718181e920f82 /net | |
parent | 42a39450f830c57432fd4e5644fa81f41ce7156d (diff) |
[IPV6]: Fix NS handing for proxy/anycast address
Timer set up by pneigh_enqueue() ended up calling ndisc_rcv()
via pndisc_redo(), which clears LOCALLY_ENQUEUED flag in
NEIGH_CB(skb) and NS was queued again.
Let's call ndisc_recv_ns() directly to avoid the loop.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv6/ndisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c index 555a31347eda..305d9ee6d7db 100644 --- a/net/ipv6/ndisc.c +++ b/net/ipv6/ndisc.c @@ -1450,7 +1450,7 @@ void ndisc_send_redirect(struct sk_buff *skb, struct neighbour *neigh, static void pndisc_redo(struct sk_buff *skb) { - ndisc_rcv(skb); + ndisc_recv_ns(skb); kfree_skb(skb); } |