mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Since if_cm 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
ec722f0875
commit
07f3ffc4fe
1 changed files with 1 additions and 1 deletions
|
|
@ -321,7 +321,7 @@ cm_attach(dev)
|
|||
/* XXX IFQ_SET_READY(&ifp->if_snd); */
|
||||
ifp->if_snd.ifq_maxlen = IFQ_MAXLEN;
|
||||
ifp->if_timer = 0;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_NEEDSGIANT;
|
||||
|
||||
arc_ifattach(ifp, linkaddress);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue