Skip to content

Commit 83d19f0

Browse files
committed
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>
1 parent 5017b1b commit 83d19f0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/char/ipmi/ipmi_msghandler.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4808,6 +4808,10 @@ static void smi_work(struct work_struct *t)
48084808

48094809
handle_new_recv_msgs(intf);
48104810

4811+
/* Nothing below applies during panic time. */
4812+
if (run_to_completion)
4813+
return;
4814+
48114815
/*
48124816
* If the pretimout count is non-zero, decrement one from it and
48134817
* deliver pretimeouts to all the users.

0 commit comments

Comments
 (0)