ipmi: Disable some operations during a panic
authorCorey Minyard <cminyard@mvista.com>
Thu, 16 Sep 2021 16:36:20 +0000 (11:36 -0500)
committerCorey Minyard <cminyard@mvista.com>
Tue, 5 Oct 2021 11:54:16 +0000 (06:54 -0500)
commitb36eb5e7b75a756baa64909a176dd4269ee05a8b
tree2389065ef893b8135eeb9f04252c620008240a93
parentdb05ddf7f321634c5659a0cf7ea56594e22365f7
ipmi: Disable some operations during a panic

Don't do kfree or other risky things when oops_in_progress is set.
It's easy enough to avoid doing them

Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_msghandler.c
drivers/char/ipmi/ipmi_watchdog.c