svn commit: r194837 - head/sys/netinet
Robert Watson
rwatson at FreeBSD.org
Wed Jun 24 14:49:27 UTC 2009
Author: rwatson
Date: Wed Jun 24 14:49:26 2009
New Revision: 194837
URL: http://svn.freebsd.org/changeset/base/194837
Log:
Add missing unlock of if_addr_mtx when an unmatched ARP packet is received.
Reported by: lstewart
MFC after: 6 weeks
Modified:
head/sys/netinet/if_ether.c
Modified: head/sys/netinet/if_ether.c
==============================================================================
--- head/sys/netinet/if_ether.c Wed Jun 24 14:47:32 2009 (r194836)
+++ head/sys/netinet/if_ether.c Wed Jun 24 14:49:26 2009 (r194837)
@@ -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);
More information about the svn-src-head
mailing list