NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/59740: Page fault in supervisor mode



The following reply was made to PR kern/59740; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: "Roberto E. Vargas Caballero" <k0ga%shike2.net@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: kern/59740: Page fault in supervisor mode
Date: Tue, 11 Nov 2025 14:40:10 +0100

 On Tue, Nov 11, 2025 at 11:50:07AM +0100, Roberto E. Vargas Caballero wrote:
 > >  The msix interrupt queue disestablish is not protected with if
 > >  (sc->osdep.ihs[i] != NULL) like the others a few lines below, so if we
 > >  have not been sucessfully through ixgbe_allocate_msix() this might
 > >  crash (we go to err_out in ixgbe.c: 7048 and then call
 > >  ixgbe_free_pciintr_resources).
 > 
 > Is this change to be pushed to mainline? I don't have any NetBSD
 > machine where I can compile the kernel to try it.
 > 
 
 :-)
 
 You don't need a NetBSD system to compile a kernel - but besides that:
 adding the missing test for NULL won't make your card work, because
 something goes wrong before the crash and the crash is only a side
 effect.
 
 We need someone who understands the driver better to look at it...
 
 Martin
 


Home | Main Index | Thread Index | Old Index