Author: kmacy Date: Tue Dec 16 00:18:04 2008 New Revision: 186148 URL: http://svn.freebsd.org/changeset/base/186148
Log: unlock looked up llentrys in defrouter_select Modified: head/sys/netinet6/nd6_rtr.c Modified: head/sys/netinet6/nd6_rtr.c ============================================================================== --- head/sys/netinet6/nd6_rtr.c Tue Dec 16 00:16:51 2008 (r186147) +++ head/sys/netinet6/nd6_rtr.c Tue Dec 16 00:18:04 2008 (r186148) @@ -653,6 +653,8 @@ defrouter_select(void) selected_dr = dr; } IF_AFDATA_UNLOCK(dr->ifp); + if (ln != NULL) + LLE_RUNLOCK(ln); if (dr->installed && installed_dr == NULL) installed_dr = dr; @@ -683,6 +685,8 @@ defrouter_select(void) selected_dr = installed_dr; } IF_AFDATA_UNLOCK(installed_dr->ifp); + if (ln != NULL) + LLE_RUNLOCK(ln); } /* _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"