mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
If driver is not running, disable interrupts and do not try to
process received frames. Previously it was possible to handle RX interrupts even if controller is not fully initialized. This resulted in non-working driver after system is up and running. Reported by: hselasky Tested by: hselasky
This commit is contained in:
parent
6b43e31fe7
commit
20e43c4aac
1 changed files with 1 additions and 1 deletions
|
|
@ -1889,7 +1889,7 @@ nfe_int_task(void *arg, int pending)
|
|||
|
||||
if ((ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) {
|
||||
NFE_UNLOCK(sc);
|
||||
nfe_enable_intr(sc);
|
||||
nfe_disable_intr(sc);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue