From 07f3ffc4fe6e17a2075692cec475c66133d3e2c6 Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Fri, 13 Aug 2004 22:57:44 +0000 Subject: 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. --- sys/dev/cm/smc90cx6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/cm') diff --git a/sys/dev/cm/smc90cx6.c b/sys/dev/cm/smc90cx6.c index 14c6a57b22f3..4bfed9791d6f 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); -- cgit v1.3