diff options
Diffstat (limited to 'net/ipv6/ndisc.c')
-rw-r--r-- | net/ipv6/ndisc.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c index 5b9ad5e2f56d..2c74885f8355 100644 --- a/net/ipv6/ndisc.c +++ b/net/ipv6/ndisc.c | |||
@@ -818,10 +818,7 @@ static void ndisc_recv_ns(struct sk_buff *skb) | |||
818 | is_router = !!idev->cnf.forwarding; | 818 | is_router = !!idev->cnf.forwarding; |
819 | 819 | ||
820 | if (dad) { | 820 | if (dad) { |
821 | struct in6_addr maddr; | 821 | ndisc_send_na(dev, NULL, &in6addr_linklocal_allnodes, &msg->target, |
822 | |||
823 | ipv6_addr_all_nodes(&maddr); | ||
824 | ndisc_send_na(dev, NULL, &maddr, &msg->target, | ||
825 | is_router, 0, (ifp != NULL), 1); | 822 | is_router, 0, (ifp != NULL), 1); |
826 | goto out; | 823 | goto out; |
827 | } | 824 | } |