diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-08-13 22:57:44 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-08-13 22:57:44 +0000 |
commit | af8028e5e260b2b1b0a79677ea60b1aeaa827510 (patch) | |
tree | b08cd5b8f29c9c7f4512a93b8ca211c684c4c397 /sys/dev/cm | |
parent | 5b97e47f5bc60dd508d771360e2e398d6545e1ea (diff) | |
download | FreeBSD-src-af8028e5e260b2b1b0a79677ea60b1aeaa827510.zip FreeBSD-src-af8028e5e260b2b1b0a79677ea60b1aeaa827510.tar.gz |
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.
Diffstat (limited to 'sys/dev/cm')
-rw-r--r-- | sys/dev/cm/smc90cx6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cm/smc90cx6.c b/sys/dev/cm/smc90cx6.c index 14c6a57..4bfed97 100644 --- a/sys/dev/cm/smc90cx6.c +++ b/sys/dev/cm/smc90cx6.c @@ -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); |