svn commit: r186161 - head/sys/netinet
Kip Macy
kmacy at FreeBSD.org
Tue Dec 16 02:48:13 UTC 2008
Author: kmacy
Date: Tue Dec 16 02:48:12 2008
New Revision: 186161
URL: http://svn.freebsd.org/changeset/base/186161
Log:
don't unlock lle if it is NULL
Modified:
head/sys/netinet/if_ether.c
Modified: head/sys/netinet/if_ether.c
==============================================================================
--- head/sys/netinet/if_ether.c Tue Dec 16 02:47:22 2008 (r186160)
+++ head/sys/netinet/if_ether.c Tue Dec 16 02:48:12 2008 (r186161)
@@ -777,7 +777,8 @@ arp_ifinit(struct ifnet *ifp, struct ifa
if (lle == NULL)
log(LOG_INFO, "arp_ifinit: cannot create arp "
"entry for interface address\n");
- LLE_RUNLOCK(lle);
+ else
+ LLE_RUNLOCK(lle);
ifa->ifa_rtrequest = NULL;
}
More information about the svn-src-all
mailing list