On Wed, Sep 19, 2007 at 09:06:56AM -0700, Mike Harding wrote:
 > 
 > I had a panic during shutdown, in the if_re.c interrupt handler,
 > likely because I had
 > 
 > ifconfig_re0="inet 192.168.0.2 netmask 255.255.255.0 -rxcsum -txcsum"
 > 
 > in /etc/rc.conf.
 > 
 > Please feel free to contact me for details.  This is a very recent -stable.
 > 

Would you try attached patch?

-- 
Regards,
Pyun YongHyeon
Index: if_re.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/re/if_re.c,v
retrieving revision 1.46.2.33
diff -u -r1.46.2.33 if_re.c
--- if_re.c     15 Sep 2007 09:52:19 -0000      1.46.2.33
+++ if_re.c     20 Sep 2007 00:42:01 -0000
@@ -1968,7 +1968,8 @@
        status = CSR_READ_2(sc, RL_ISR);
         CSR_WRITE_2(sc, RL_ISR, status);
 
-       if (sc->suspended || !(ifp->if_flags & IFF_UP)) {
+       if (sc->suspended ||
+           (ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) {
                RL_UNLOCK(sc);
                return;
        }
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to