unlock looked up llentrys in defrouter_select

This commit is contained in:
Kip Macy 2008-12-16 00:18:04 +00:00
parent c2b3a02b38
commit c0641cc03b

View File

@ -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);
}
/*