Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 2008 00:18:04 +0000 (UTC)
From:      Kip Macy <kmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r186148 - head/sys/netinet6
Message-ID:  <200812160018.mBG0I4KP020768@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 	}
 
 	/*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812160018.mBG0I4KP020768>