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:
rwatson 2009-06-24 14:49:26 +00:00
parent 87595b5020
commit f2d5b39895

View File

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