diff options
author | kmacy <kmacy@FreeBSD.org> | 2008-12-16 00:18:04 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2008-12-16 00:18:04 +0000 |
commit | 505bc2976712d71f929aba1585a4b236ee50476c (patch) | |
tree | ffeafcc714236e78cbfada6aa6a7a8c00bbbb4f3 /sys/netinet6/nd6_rtr.c | |
parent | 8cc0e3cda93eb82fdcd32bc3b75c038a171896c9 (diff) | |
download | FreeBSD-src-505bc2976712d71f929aba1585a4b236ee50476c.zip FreeBSD-src-505bc2976712d71f929aba1585a4b236ee50476c.tar.gz |
unlock looked up llentrys in defrouter_select
Diffstat (limited to 'sys/netinet6/nd6_rtr.c')
-rw-r--r-- | sys/netinet6/nd6_rtr.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/netinet6/nd6_rtr.c b/sys/netinet6/nd6_rtr.c index 7b4af3c..b5811f0 100644 --- a/sys/netinet6/nd6_rtr.c +++ b/sys/netinet6/nd6_rtr.c @@ -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); } /* |