From: Denis V. Lunev Date: Thu, 20 Sep 2007 19:55:47 +0000 (-0700) Subject: Fix IPV6 DAD handling X-Git-Tag: v2.6.22.9~10 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7556e40bae766944a136b44252118737331513ca;p=karo-tx-linux.git Fix IPV6 DAD handling commit 9e3be4b34364a670bd6e57d2e8c3caabdd8d89f8 in mainline addrconf_dad_failure calls addrconf_dad_stop which takes referenced address and drops the count. So, in6_ifa_put perrformed at out: is extra. This results in message: "Freeing alive inet6 address" and not released dst entries. Signed-off-by: Denis V. Lunev Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c index 0358e6066a4e..73a894a2152c 100644 --- a/net/ipv6/ndisc.c +++ b/net/ipv6/ndisc.c @@ -736,7 +736,7 @@ static void ndisc_recv_ns(struct sk_buff *skb) * so fail our DAD process */ addrconf_dad_failure(ifp); - goto out; + return; } else { /* * This is not a dad solicitation.