mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-16 15:11:52 +00:00
As the if_ar driver doesn't contain locking or run its interrupt
MPSAFE, mark it as IFF_NEEDSGIANT so that its if_start routine is run holding Giant.
This commit is contained in:
parent
09e54b95d3
commit
b68828c941
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=133675
@ -293,7 +293,8 @@ ar_attach(device_t device)
|
||||
if_initname(ifp, device_get_name(device),
|
||||
device_get_unit(device));
|
||||
ifp->if_mtu = PP_MTU;
|
||||
ifp->if_flags = IFF_POINTOPOINT | IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_POINTOPOINT | IFF_MULTICAST |
|
||||
IFF_NEEDSGIANT;
|
||||
ifp->if_ioctl = arioctl;
|
||||
ifp->if_start = arstart;
|
||||
ifp->if_watchdog = arwatchdog;
|
||||
|
Loading…
Reference in New Issue
Block a user