Skip to content

Commit

Permalink
[IPV6]: Fix NS handing for proxy/anycast address
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
yoshfuji authored and davem330 committed Oct 5, 2005
1 parent 42a3945 commit 140e26f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv6/ndisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 140e26f

Please sign in to comment.