From owner-svn-src-all@FreeBSD.ORG Tue Dec 16 00:18:04 2008 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEADB106564A; Tue, 16 Dec 2008 00:18:04 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 9B7DE8FC18; Tue, 16 Dec 2008 00:18:04 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mBG0I4FJ020769; Tue, 16 Dec 2008 00:18:04 GMT (envelope-from kmacy@svn.freebsd.org) Received: (from kmacy@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mBG0I4KP020768; Tue, 16 Dec 2008 00:18:04 GMT (envelope-from kmacy@svn.freebsd.org) Message-Id: <200812160018.mBG0I4KP020768@svn.freebsd.org> From: Kip Macy Date: Tue, 16 Dec 2008 00:18:04 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r186148 - head/sys/netinet6 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Dec 2008 00:18:04 -0000 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); } /*