Date: Thu, 20 Sep 2007 09:40:38 +0900 From: Pyun YongHyeon <pyunyh@gmail.com> To: Mike Harding <mvh@ix.netcom.com> Cc: stable@freebsd.org Subject: Re: crash during shutdown -after- disks unmounted Message-ID: <20070920004038.GA40749@cdnetworks.co.kr> In-Reply-To: <20070919160656.0ADDA170A2@bsd.mvh> References: <20070919160656.0ADDA170A2@bsd.mvh>
next in thread | previous in thread | raw e-mail | index | archive | help
--a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="re.patch" 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; } --a8Wt8u1KmwUX3Y2C--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070920004038.GA40749>