From owner-freebsd-bugs Tue Aug 21 8:40:34 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8405737B406 for ; Tue, 21 Aug 2001 08:40:29 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7LFeT472285; Tue, 21 Aug 2001 08:40:29 -0700 (PDT) (envelope-from gnats) Date: Tue, 21 Aug 2001 08:40:29 -0700 (PDT) Message-Id: <200108211540.f7LFeT472285@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Warner Losh Subject: Re: kern/29845: 4.4-PRERELEASE crashes under heavy net I/O Reply-To: Warner Losh Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/29845; it has been noted by GNATS. From: Warner Losh To: Andre Albsmeier Cc: Ian Dowse , freebsd-gnats-submit@FreeBSD.org Subject: Re: kern/29845: 4.4-PRERELEASE crashes under heavy net I/O Date: Tue, 21 Aug 2001 09:39:50 -0600 In message <20010821161749.A29621@curry.mchp.siemens.de> Andre Albsmeier writes: : Well I was only whining about the problem, you fixed it (or at least : isolated it) :-) Here's a simple fix you can try. I don't see how this would help, but if it does, we know what the problem is. Ian suggested this a while ago, and I'm still not sure how this could be a problem, but if it is Ian's suggestions are right. Warner Index: pcic_pci.c =================================================================== RCS file: /home/imp/FreeBSD/CVS/src/sys/pccard/pcic_pci.c,v retrieving revision 1.54.2.7 diff -u -r1.54.2.7 pcic_pci.c --- pcic_pci.c 2001/08/21 09:06:25 1.54.2.7 +++ pcic_pci.c 2001/08/21 15:38:29 @@ -522,8 +522,11 @@ * interrupt handler for it. Since multifunction cards aren't * supported, this shouldn't cause a problem in practice. */ - if (sc->cd_present && sp->intr != NULL) + if (sc->cd_present && sp->intr != NULL) { + s = splhigh(); sp->intr(sp->argp); + splx(s); + } } /* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message