svn commit: r186155 - head/sys/netinet6
Kip Macy
kmacy at FreeBSD.org
Tue Dec 16 01:58:31 UTC 2008
Author: kmacy
Date: Tue Dec 16 01:58:30 2008
New Revision: 186155
URL: http://svn.freebsd.org/changeset/base/186155
Log:
unlock the llentry after use in find_pfxlist_reachable_router
Modified:
head/sys/netinet6/nd6_rtr.c
Modified: head/sys/netinet6/nd6_rtr.c
==============================================================================
--- head/sys/netinet6/nd6_rtr.c Tue Dec 16 01:24:05 2008 (r186154)
+++ head/sys/netinet6/nd6_rtr.c Tue Dec 16 01:58:30 2008 (r186155)
@@ -1336,9 +1336,10 @@ find_pfxlist_reachable_router(struct nd_
if ((ln = nd6_lookup(&pfxrtr->router->rtaddr, 0,
pfxrtr->router->ifp)) &&
ND6_IS_LLINFO_PROBREACH(ln)) {
- IF_AFDATA_UNLOCK(pfxrtr->router->ifp);
+ LLE_RUNLOCK(ln);
break; /* found */
}
+ LLE_RUNLOCK(ln);
IF_AFDATA_UNLOCK(pfxrtr->router->ifp);
}
return (pfxrtr);
More information about the svn-src-head
mailing list