mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
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
ea69bf33ec
commit
ec722f0875
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=133677
@ -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