Unlock entry before retry.

Submitted by:	melifaro
MFC after:	1 week
This commit is contained in:
Andrey V. Elsukov 2014-02-07 10:58:46 +00:00
parent 7cf4986ba9
commit 74a976fffd

View File

@ -1925,6 +1925,7 @@ nd6_output_lle(struct ifnet *ifp, struct ifnet *origifp, struct mbuf *m0,
ln->ln_state < ND6_LLINFO_REACHABLE) {
if ((flags & LLE_EXCLUSIVE) == 0) {
flags |= LLE_EXCLUSIVE;
LLE_RUNLOCK(ln);
goto retry;
}
ln->ln_state = ND6_LLINFO_STALE;