unlock looked up llentrys in defrouter_select
This commit is contained in:
parent
c2b3a02b38
commit
c0641cc03b
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user