Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Fix missing kpreempt_disabe()
details: https://anonhg.NetBSD.org/src/rev/7fd9751f07d1
branches: trunk
changeset: 1006915:7fd9751f07d1
user: yamaguchi <yamaguchi%NetBSD.org@localhost>
date: Fri Jan 31 02:25:06 2020 +0000
description:
Fix missing kpreempt_disabe()
diffstat:
sys/dev/pci/if_ixl.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 00df38d5c6cf -r 7fd9751f07d1 sys/dev/pci/if_ixl.c
--- a/sys/dev/pci/if_ixl.c Fri Jan 31 02:21:17 2020 +0000
+++ b/sys/dev/pci/if_ixl.c Fri Jan 31 02:25:06 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ixl.c,v 1.32 2020/01/31 02:21:17 yamaguchi Exp $ */
+/* $NetBSD: if_ixl.c,v 1.33 2020/01/31 02:25:06 yamaguchi Exp $ */
/*
* Copyright (c) 2013-2015, Intel Corporation
@@ -2970,7 +2970,9 @@
ixl_tx_common_locked(ifp, txr, true);
mutex_exit(&txr->txr_lock);
} else {
+ kpreempt_disable();
softint_schedule(txr->txr_si);
+ kpreempt_enable();
}
return 0;
Home |
Main Index |
Thread Index |
Old Index