mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Since if_ic 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
be0fd0eb55
commit
9c7d53aa85
1 changed files with 2 additions and 1 deletions
|
|
@ -136,7 +136,8 @@ icattach(device_t dev)
|
|||
ifp->if_softc = sc;
|
||||
if_initname(ifp, device_get_name(dev), device_get_unit(dev));
|
||||
ifp->if_mtu = ICMTU;
|
||||
ifp->if_flags = IFF_SIMPLEX | IFF_POINTOPOINT | IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_SIMPLEX | IFF_POINTOPOINT | IFF_MULTICAST |
|
||||
IFF_NEEDSGIANT;
|
||||
ifp->if_ioctl = icioctl;
|
||||
ifp->if_output = icoutput;
|
||||
ifp->if_type = IFT_PARA;
|
||||
|
|
|
|||
Loading…
Reference in a new issue