Since if_awi 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
a975455076
commit
4690cfc86e
@ -283,7 +283,7 @@ awi_attach(struct awi_softc *sc)
|
||||
#ifdef IFF_NOTRAILERS
|
||||
IFF_NOTRAILERS |
|
||||
#endif
|
||||
IFF_SIMPLEX | IFF_BROADCAST | IFF_MULTICAST;
|
||||
IFF_SIMPLEX | IFF_BROADCAST | IFF_MULTICAST | IFF_NEEDSGIANT;
|
||||
ifp->if_ioctl = awi_ioctl;
|
||||
ifp->if_start = awi_start;
|
||||
ifp->if_watchdog = awi_watchdog;
|
||||
|
Loading…
Reference in New Issue
Block a user