]> err.no Git - linux-2.6/commitdiff
[IPV6]: Freeing alive inet6 address
authorDenis V. Lunev <den@openvz.org>
Tue, 11 Sep 2007 09:04:49 +0000 (11:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Sep 2007 09:04:49 +0000 (11:04 +0200)
From: Denis V. Lunev <den@openvz.org>

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 <den@openvz.org>
Signed-off-by: Alexey Dobriyan <adobriyan@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ndisc.c

index 0358e6066a4ec6b3303fa12533e27fb1299f517e..73a894a2152ca003b9c3de5bed0b8412d8aa42d7 100644 (file)
@@ -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.