Module Name: src Committed By: knakahara Date: Wed Oct 16 06:36:00 UTC 2019
Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c Log Message: Fix missing kpreempt_disable() before softint_schedule() like if_vmx.c:r1.51. To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/sys/dev/pci/ixgbe/ix_txrx.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/ixgbe/ix_txrx.c diff -u src/sys/dev/pci/ixgbe/ix_txrx.c:1.55 src/sys/dev/pci/ixgbe/ix_txrx.c:1.56 --- src/sys/dev/pci/ixgbe/ix_txrx.c:1.55 Wed Sep 4 07:29:34 2019 +++ src/sys/dev/pci/ixgbe/ix_txrx.c Wed Oct 16 06:36:00 2019 @@ -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 @@ ixgbe_mq_start(struct ifnet *ifp, struct &txr->wq_cookie, curcpu()); } else percpu_putref(adapter->txr_wq_enqueued); - } else + } else { + kpreempt_disable(); softint_schedule(txr->txr_si); + kpreempt_enable(); + } } return (0);