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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=133678
@ -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 New Issue
Block a user