summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-09-17 10:55:35 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2023-09-17 10:55:35 -0700
commit99a73f9e8d65600fda224647c8520e184db8506c (patch)
tree4f0a89bfa8fe9841a9064ec7d9de25ea6140916c /kernel
parent42aadec8c739727fce8e2c1ee71e72cb0f82ed3f (diff)
parentcccd32816506cbac3a4c65d9dff51b3125ef1a03 (diff)
Merge tag 'core-urgent-2023-09-17' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull WARN fix from Ingo Molnar: "Fix a missing preempt-enable in the WARN() slowpath" * tag 'core-urgent-2023-09-17' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: panic: Reenable preemption in WARN slowpath
Diffstat (limited to 'kernel')
-rw-r--r--kernel/panic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/panic.c b/kernel/panic.c
index 07239d4ad81e..ffa037fa777d 100644
--- a/kernel/panic.c
+++ b/kernel/panic.c
@@ -697,6 +697,7 @@ void warn_slowpath_fmt(const char *file, int line, unsigned taint,
if (!fmt) {
__warn(file, line, __builtin_return_address(0), taint,
NULL, NULL);
+ warn_rcu_exit(rcu);
return;
}