mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Add missing splx calls in bge_tick. These don't make any functional
difference in -current, but they are important for -stable where they are missing too. MFC after: 1 day
This commit is contained in:
parent
05276e5f8c
commit
1c33cc4bc5
1 changed files with 4 additions and 1 deletions
|
|
@ -2077,8 +2077,10 @@ bge_tick(xsc)
|
|||
|
||||
bge_stats_update(sc);
|
||||
sc->bge_stat_ch = timeout(bge_tick, sc, hz);
|
||||
if (sc->bge_link)
|
||||
if (sc->bge_link) {
|
||||
splx(s);
|
||||
return;
|
||||
}
|
||||
|
||||
if (sc->bge_tbi) {
|
||||
ifm = &sc->bge_ifmedia;
|
||||
|
|
@ -2090,6 +2092,7 @@ bge_tick(xsc)
|
|||
if (ifp->if_snd.ifq_head != NULL)
|
||||
bge_start(ifp);
|
||||
}
|
||||
splx(s);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue