Date: Tue, 21 Aug 2001 08:40:29 -0700 (PDT) From: Warner Losh <imp@harmony.village.org> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/29845: 4.4-PRERELEASE crashes under heavy net I/O Message-ID: <200108211540.f7LFeT472285@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/29845; it has been noted by GNATS.
From: Warner Losh <imp@harmony.village.org>
To: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
Cc: Ian Dowse <iedowse@maths.tcd.ie>,
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108211540.f7LFeT472285>
