mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 04:21:03 -04:00
ipmi:msghandler: Remove some user level processing in panic mode
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>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user