Release the ref acquired in nd6_dad_find() if DAD is already in progress.
MFC after: 1 week
This commit is contained in:
parent
38dd603f8c
commit
c15064c27a
@ -1262,9 +1262,10 @@ nd6_dad_start(struct ifaddr *ifa, int delay)
|
||||
}
|
||||
if ((dp = nd6_dad_find(ifa, NULL)) != NULL) {
|
||||
/*
|
||||
* DAD already in progress. Let the existing entry
|
||||
* to finish it.
|
||||
* DAD is already in progress. Let the existing entry
|
||||
* finish it.
|
||||
*/
|
||||
nd6_dad_rele(dp);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user