Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci/ixgbe Fix missing kpreempt_disable() before soft...
details: https://anonhg.NetBSD.org/src/rev/b7447248f7c6
branches: trunk
changeset: 1004182:b7447248f7c6
user: knakahara <knakahara%NetBSD.org@localhost>
date: Wed Oct 16 06:36:00 2019 +0000
description:
Fix missing kpreempt_disable() before softint_schedule() like if_vmx.c:r1.51.
diffstat:
sys/dev/pci/ixgbe/ix_txrx.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r d911e399846d -r b7447248f7c6 sys/dev/pci/ixgbe/ix_txrx.c
--- a/sys/dev/pci/ixgbe/ix_txrx.c Wed Oct 16 04:07:42 2019 +0000
+++ b/sys/dev/pci/ixgbe/ix_txrx.c Wed Oct 16 06:36:00 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ix_txrx.c,v 1.55 2019/09/04 07:29:34 msaitoh Exp $ */
+/* $NetBSD: ix_txrx.c,v 1.56 2019/10/16 06:36:00 knakahara Exp $ */
/******************************************************************************
@@ -266,8 +266,11 @@
&txr->wq_cookie, curcpu());
} else
percpu_putref(adapter->txr_wq_enqueued);
- } else
+ } else {
+ kpreempt_disable();
softint_schedule(txr->txr_si);
+ kpreempt_enable();
+ }
}
return (0);
Home |
Main Index |
Thread Index |
Old Index