Freeing alive inet6 address
Subsystems (3)
PATCH 1/1 Freeing alive inet6 address
From: Denis V. Lunev <[email protected]>
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.
net/ipv6/ndisc.c renamed from net/ipv6/ndisc.c.ipv6dad +1 -1
@@ -736,7 +736,7 @@ static void ndisc_recv_ns(struct sk_buff* so fail our DAD process */ addrconf_dad_failure (ifp); - goto out; +return ; }else {/* * This is not a dad solicitation.
David Miller
maintainerFrom: "Denis V. Lunev" <[email protected]>
Date: Fri, 7 Sep 2007 14:21:18 +0400
Quoted 8 lines
From: Denis V. Lunev <[email protected]>
addrconf_dad_failurecallsaddrconf_dad_stopwhich takes referenced address and drops the count. So,in6_ifa_putperrformed at out: is extra. This results in message: "Freeing alive inet6 address" and not released dst entries.Signed-off-by Denis V. Lunev <[email protected]>Signed-off-by Alexey Dobriyan <[email protected]>
I've seen this bug myself just a week before heading to Europe for conferences and intended to look into it.
Thanks a lot for fixing this, patch applied.