diff options
author | imp <imp@FreeBSD.org> | 2003-04-29 05:47:14 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2003-04-29 05:47:14 +0000 |
commit | b6df52c6536ebf62ecf137a6d0140dd8b3b5af32 (patch) | |
tree | 089e06ecc3d33a496600891f5772c23acf20e3cb /sys | |
parent | 6acb819c04fd80b98e4e35832411e903607e59a1 (diff) | |
download | FreeBSD-src-b6df52c6536ebf62ecf137a6d0140dd8b3b5af32.zip FreeBSD-src-b6df52c6536ebf62ecf137a6d0140dd8b3b5af32.tar.gz |
(5) from last commit was omitted by mistake:
(5) Return immediately from fxp_intr() if gone is set.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/fxp/if_fxp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c index 27e6975..aa16761 100644 --- a/sys/dev/fxp/if_fxp.c +++ b/sys/dev/fxp/if_fxp.c @@ -1499,6 +1499,9 @@ fxp_intr(void *xsc) struct ifnet *ifp = &sc->sc_if; u_int8_t statack; + if (sc->gone) + return; + FXP_LOCK(sc); #ifdef DEVICE_POLLING if (ifp->if_flags & IFF_POLLING) { |