Add missing unlock of if_addr_mtx when an unmatched ARP packet is received.
Reported by: lstewart MFC after: 6 weeks
This commit is contained in:
parent
87595b5020
commit
f2d5b39895
@ -564,6 +564,7 @@ in_arpinput(struct mbuf *m)
|
||||
if (ifa->ifa_addr->sa_family == AF_INET) {
|
||||
ia = ifatoia(ifa);
|
||||
ifa_ref(ifa);
|
||||
IF_ADDR_UNLOCK(ifp);
|
||||
goto match;
|
||||
}
|
||||
IF_ADDR_UNLOCK(ifp);
|
||||
|
Loading…
Reference in New Issue
Block a user