Source-Changes-HG archive

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

[src/netbsd-8]: src/sys/dev/pci/ixgbe Pull up following revision(s) (requeste...



details:   https://anonhg.NetBSD.org/src/rev/a7f1822e28fc
branches:  netbsd-8
changeset: 460935:a7f1822e28fc
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Nov 10 13:36:29 2019 +0000

description:
Pull up following revision(s) (requested by knakahara in ticket #1431):

        sys/dev/pci/ixgbe/ix_txrx.c: revision 1.56

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 7653b0bbae2c -r a7f1822e28fc sys/dev/pci/ixgbe/ix_txrx.c
--- a/sys/dev/pci/ixgbe/ix_txrx.c       Sun Nov 10 13:34:46 2019 +0000
+++ b/sys/dev/pci/ixgbe/ix_txrx.c       Sun Nov 10 13:36:29 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ix_txrx.c,v 1.24.2.17 2019/09/05 09:06:07 martin Exp $ */
+/* $NetBSD: ix_txrx.c,v 1.24.2.18 2019/11/10 13:36:29 martin 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