mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Since if_arl 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
b68828c941
commit
ea69bf33ec
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=133676
@ -216,7 +216,8 @@ arl_attach(dev)
|
||||
if_initname(ifp, device_get_name(dev), device_get_unit(dev));
|
||||
#endif
|
||||
ifp->if_mtu = ETHERMTU;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST |
|
||||
IFF_NEEDSGIANT;
|
||||
ifp->if_start = arl_start;
|
||||
ifp->if_ioctl = arl_ioctl;
|
||||
ifp->if_watchdog = arl_watchdog;
|
||||
|
Loading…
Reference in New Issue
Block a user