mirror of
https://github.com/opnsense/src.git
synced 2026-07-15 12:11:48 -04:00
Since if_ixgb doesn't contain locking or run with INTR_MPSAFE, mark
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
This commit is contained in:
parent
7e3a88ea3c
commit
f92e0b28a4
1 changed files with 2 additions and 1 deletions
|
|
@ -1319,7 +1319,8 @@ ixgb_setup_interface(device_t dev, struct adapter * adapter)
|
|||
ifp->if_baudrate = 1000000000;
|
||||
ifp->if_init = ixgb_init;
|
||||
ifp->if_softc = adapter;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST |
|
||||
IFF_NEEDSGIANT;
|
||||
ifp->if_ioctl = ixgb_ioctl;
|
||||
ifp->if_start = ixgb_start;
|
||||
ifp->if_watchdog = ixgb_watchdog;
|
||||
|
|
|
|||
Loading…
Reference in a new issue