projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5017b1b
)
ipmi:msghandler: Remove some user level processing in panic mode
author
Corey Minyard
<corey@minyard.net>
Wed, 19 Mar 2025 02:46:05 +0000
(21:46 -0500)
committer
Corey Minyard
<corey@minyard.net>
Wed, 7 May 2025 22:25:48 +0000
(17:25 -0500)
When run to completion is set, don't call things that will claim
mutexes or call user callbacks.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_msghandler.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/ipmi/ipmi_msghandler.c
b/drivers/char/ipmi/ipmi_msghandler.c
index c7cc885e12fa41b182cc4855afccee3744985d39..f40f281b46b3394c022762c707b8dacdc74c9d2f 100644
(file)
--- a/
drivers/char/ipmi/ipmi_msghandler.c
+++ b/
drivers/char/ipmi/ipmi_msghandler.c
@@
-4808,6
+4808,10
@@
static void smi_work(struct work_struct *t)
handle_new_recv_msgs(intf);
+ /* Nothing below applies during panic time. */
+ if (run_to_completion)
+ return;
+
/*
* If the pretimout count is non-zero, decrement one from it and
* deliver pretimeouts to all the users.