Module Name:    src
Committed By:   martin
Date:           Wed Aug  7 09:12:55 UTC 2024

Modified Files:
        src/sys/dev/pci [netbsd-10]: if_vioif.c

Log Message:
Pull up following revision(s) (requested by rin in ticket #770):

        sys/dev/pci/if_vioif.c: revision 1.108

Fix missing check for netq->netq_stopping in vioif_rx_intr()


To generate a diff of this commit:
cvs rdiff -u -r1.82.4.3 -r1.82.4.4 src/sys/dev/pci/if_vioif.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/if_vioif.c
diff -u src/sys/dev/pci/if_vioif.c:1.82.4.3 src/sys/dev/pci/if_vioif.c:1.82.4.4
--- src/sys/dev/pci/if_vioif.c:1.82.4.3	Sat May 13 10:56:10 2023
+++ src/sys/dev/pci/if_vioif.c	Wed Aug  7 09:12:55 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_vioif.c,v 1.82.4.3 2023/05/13 10:56:10 martin Exp $	*/
+/*	$NetBSD: if_vioif.c,v 1.82.4.4 2024/08/07 09:12:55 martin Exp $	*/
 
 /*
  * Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_vioif.c,v 1.82.4.3 2023/05/13 10:56:10 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_vioif.c,v 1.82.4.4 2024/08/07 09:12:55 martin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -1924,6 +1924,9 @@ vioif_rx_intr(void *arg)
 	if (netq->netq_running_handle)
 		goto done;
 
+	if (netq->netq_stopping)
+		goto done;
+
 	netq->netq_running_handle = true;
 
 	limit = sc->sc_rx_intr_process_limit;

Reply via email to