Re: [PATCH] ipv6: addrconf: fix dev refcont leak when DAD failed

2016-09-06 Thread David Miller
From: Wei Yongjun Date: Mon, 5 Sep 2016 16:06:31 +0800 > In general, when DAD detected IPv6 duplicate address, ifp->state > will be set to INET6_IFADDR_STATE_ERRDAD and DAD is stopped by a > delayed work, the call tree should be like this: > > ndisc_recv_ns > -> addrconf_dad_failure<-

Re: 答复: [PATCH] ipv6: addrconf: fix dev refcont leak when DAD failed

2016-09-05 Thread Hannes Frederic Sowa
On 05.09.2016 13:54, weiyongjun (A) wrote: > On 05.09.2016 10:06, Wei Yongjun wrote: In general, when DAD detected IPv6 duplicate address, ifp->state will be set to INET6_IFADDR_STATE_ERRDAD and DAD is stopped by a delayed work, the call tree should be like this: ndisc_re

答复: [PATCH] ipv6: addrconf: fix dev refcont leak when DAD failed

2016-09-05 Thread weiyongjun (A)
On 05.09.2016 10:06, Wei Yongjun wrote: >>> In general, when DAD detected IPv6 duplicate address, ifp->state will >>> be set to INET6_IFADDR_STATE_ERRDAD and DAD is stopped by a delayed >>> work, the call tree should be like this: >>> >>> ndisc_recv_ns >>> -> addrconf_dad_failure<- mis

Re: [PATCH] ipv6: addrconf: fix dev refcont leak when DAD failed

2016-09-05 Thread weiyongjun (A)
On 05.09.2016 10:06, Wei Yongjun wrote: >> In general, when DAD detected IPv6 duplicate address, ifp->state will >> be set to INET6_IFADDR_STATE_ERRDAD and DAD is stopped by a delayed >> work, the call tree should be like this: >> >> ndisc_recv_ns >> -> addrconf_dad_failure<- missing i

Re: [PATCH] ipv6: addrconf: fix dev refcont leak when DAD failed

2016-09-05 Thread Hannes Frederic Sowa
On 05.09.2016 10:06, Wei Yongjun wrote: > In general, when DAD detected IPv6 duplicate address, ifp->state > will be set to INET6_IFADDR_STATE_ERRDAD and DAD is stopped by a > delayed work, the call tree should be like this: > > ndisc_recv_ns > -> addrconf_dad_failure<- missing ifp put >

[PATCH] ipv6: addrconf: fix dev refcont leak when DAD failed

2016-09-05 Thread Wei Yongjun
In general, when DAD detected IPv6 duplicate address, ifp->state will be set to INET6_IFADDR_STATE_ERRDAD and DAD is stopped by a delayed work, the call tree should be like this: ndisc_recv_ns -> addrconf_dad_failure<- missing ifp put -> addrconf_mod_dad_work -> schedule addr