Skip to content
Commit a747c5ab authored by Jiri Kosina's avatar Jiri Kosina Committed by Linus Torvalds
Browse files

ipmi: handle run_to_completion properly in deliver_recv_msg()



If run_to_completion flag is set, it means that we are running in a
single-threaded mode, and thus no locks are held.

This fixes a deadlock when IPMI notifier is being called during panic.

Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
Acked-by: default avatarCorey Minyard <minyard@acm.org>
Cc: <stable@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 279fbd0c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment