Release the ref acquired in nd6_dad_find() if DAD is already in progress.

MFC after:	1 week
This commit is contained in:
Mark Johnston 2016-02-18 00:00:51 +00:00
parent 38dd603f8c
commit c15064c27a

View File

@ -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;
}