Commit 140e26fcd559f6988e5a9056385eecade19d9b49

Authored by YOSHIFUJI Hideaki
Committed by David S. Miller
1 parent 42a39450f8

[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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -1450,7 +1450,7 @@
1450 1450  
1451 1451 static void pndisc_redo(struct sk_buff *skb)
1452 1452 {
1453   - ndisc_rcv(skb);
  1453 + ndisc_recv_ns(skb);
1454 1454 kfree_skb(skb);
1455 1455 }
1456 1456