mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Since if_cs 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
c84843f1e5
commit
de1af409d2
1 changed files with 2 additions and 1 deletions
|
|
@ -613,7 +613,8 @@ cs_attach(device_t dev)
|
|||
ifp->if_linkmiblen=sizeof sc->mibdata;
|
||||
*/
|
||||
|
||||
ifp->if_flags=(IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST );
|
||||
ifp->if_flags=(IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST |
|
||||
IFF_NEEDSGIANT);
|
||||
|
||||
/*
|
||||
* this code still in progress (DMA support)
|
||||
|
|
|
|||
Loading…
Reference in a new issue