diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-08-13 23:08:08 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-08-13 23:08:08 +0000 |
commit | 2ab0b531c9726ee4d6119f2274ac5656cdde8a05 (patch) | |
tree | abf7537d038b97961c2f8b2328fc8048a75fca23 /sys/dev/fe | |
parent | 037ce3f3f4148a5fcc99acd4ad947ab6eb86c233 (diff) | |
download | FreeBSD-src-2ab0b531c9726ee4d6119f2274ac5656cdde8a05.zip FreeBSD-src-2ab0b531c9726ee4d6119f2274ac5656cdde8a05.tar.gz |
Since if_fe 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/fe')
-rw-r--r-- | sys/dev/fe/if_fe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/fe/if_fe.c b/sys/dev/fe/if_fe.c index 3788c07..ddf3fc5 100644 --- a/sys/dev/fe/if_fe.c +++ b/sys/dev/fe/if_fe.c @@ -754,7 +754,8 @@ fe_attach (device_t dev) /* * Set fixed interface flags. */ - sc->sc_if.if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; + sc->sc_if.if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST | + IFF_NEEDSGIANT; #if 1 /* |