Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-9]: src/sys/dev/pci Pull up following revision(s) (requested by r...
details: https://anonhg.NetBSD.org/src/rev/e495ecd2d7c8
branches: netbsd-9
changeset: 376151:e495ecd2d7c8
user: martin <martin%NetBSD.org@localhost>
date: Sat Jun 03 14:46:07 2023 +0000
description:
Pull up following revision(s) (requested by rin in ticket #1637):
sys/dev/pci/if_aq.c: revision 1.45
aq(4): if_transmit: Invoke softint_schedule(9) with kpreempt disabled.
diffstat:
sys/dev/pci/if_aq.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 5fb89570f417 -r e495ecd2d7c8 sys/dev/pci/if_aq.c
--- a/sys/dev/pci/if_aq.c Sat Jun 03 14:35:18 2023 +0000
+++ b/sys/dev/pci/if_aq.c Sat Jun 03 14:46:07 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_aq.c,v 1.17.2.3 2020/07/07 12:02:29 martin Exp $ */
+/* $NetBSD: if_aq.c,v 1.17.2.4 2023/06/03 14:46:07 martin Exp $ */
/**
* aQuantia Corporation Network Driver
@@ -62,7 +62,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_aq.c,v 1.17.2.3 2020/07/07 12:02:29 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_aq.c,v 1.17.2.4 2023/06/03 14:46:07 martin Exp $");
#ifdef _KERNEL_OPT
#include "opt_if_aq.h"
@@ -4635,7 +4635,9 @@ aq_transmit(struct ifnet *ifp, struct mb
aq_send_common_locked(ifp, sc, txring, true);
mutex_exit(&txring->txr_mutex);
} else {
+ kpreempt_disable();
softint_schedule(txring->txr_softint);
+ kpreempt_enable();
}
return 0;
}
Home |
Main Index |
Thread Index |
Old Index