mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-16 15:11:52 +00: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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=133681
@ -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 New Issue
Block a user