Date: Tue, 16 Dec 2008 01:58:31 +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: r186155 - head/sys/netinet6 Message-ID: <200812160158.mBG1wVM3023070@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812160158.mBG1wVM3023070>