Revert r275695: nd6_dad_find() was already correct.
Reported by: ae, kib Pointy hat to: markj
This commit is contained in:
parent
c293113327
commit
a37271c3b8
@ -1210,12 +1210,11 @@ nd6_dad_find(struct ifaddr *ifa)
|
||||
TAILQ_FOREACH(dp, &V_dadq, dad_list)
|
||||
if (dp->dad_ifa == ifa) {
|
||||
refcount_acquire(&dp->dad_refcnt);
|
||||
DADQ_RUNLOCK();
|
||||
return (dp);
|
||||
break;
|
||||
}
|
||||
DADQ_RUNLOCK();
|
||||
|
||||
return (NULL);
|
||||
return (dp);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
x
Reference in New Issue
Block a user