When inserting a PCCARD a panic can occur if the PCCARD generate interrupts
before the driver is loaded.
--- dev/pccard/pccard.c (revision 208027)
+++ dev/pccard/pccard.c (local)
@@ -1258,7 +1258,10 @@
struct pccard_function *pf = (struct pccard_function*) arg;
+ if (pf->intr_handler == NULL)
+ return; /* can happen during PCCARD insertion
I'll take it.
needs more information, seems to be the wrong thing
On Wednesday 13 June 2012 07:43:28 firstname.lastname@example.org wrote:
> Synopsis: [pccard] [patch] Fix panic in pccard.c
> State-Changed-From-To: analyzed->open
> State-Changed-By: eadler
> State-Changed-When: Wed Jun 13 05:43:27 UTC 2012
> needs more information, seems to be the wrong thing
I can try to reproduce using 9-stable. It might take some time.
over to committer
For bugs matching the following criteria:
Status: In Progress Changed: (is less than) 2014-06-01
Reset to default assignee and clear in-progress tags.
Mail being skipped
A commit references this bug:
Date: Mon Jan 7 06:19:51 UTC 2019
New revision: 342843
Fix a race between setting up the interrupt handler and it firing by
setting the data prior to setting up the interrupt. Now we only set
the cookie afterwards, and that (a) cannot be helpd and (b) isn't used
in the ISR.
Submitted by: hps@
Fixed the race by setting the data before setting up the ISR.
Please contact me if there are other, unanticipated issues relating to this.
Forgot the MFC tag in my commit.