Module Name: src
Committed By: skrll
Date: Sat Jul 2 06:09:37 UTC 2022
Modified Files:
src/sys/dev/pci: if_wm.c
Log Message:
wm_tick: Add missing splx(s) when not WM_MPSAFE
To generate a diff of this commit:
cvs rdiff -u -r1.733 -r1.734 src/sys/dev/pci/if_wm.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_wm.c
diff -u src/sys/dev/pci/if_wm.c:1.733 src/sys/dev/pci/if_wm.c:1.734
--- src/sys/dev/pci/if_wm.c:1.733 Thu May 19 02:23:59 2022
+++ src/sys/dev/pci/if_wm.c Sat Jul 2 06:09:37 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: if_wm.c,v 1.733 2022/05/19 02:23:59 msaitoh Exp $ */
+/* $NetBSD: if_wm.c,v 1.734 2022/07/02 06:09:37 skrll Exp $ */
/*
* Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -82,7 +82,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.733 2022/05/19 02:23:59 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.734 2022/07/02 06:09:37 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_net_mpsafe.h"
@@ -3490,6 +3490,9 @@ wm_tick(void *arg)
wm_tbi_tick(sc);
WM_CORE_UNLOCK(sc);
+#ifndef WM_MPSAFE
+ splx(s);
+#endif
wm_watchdog(ifp);