]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ipmi: Disable some operations during a panic
authorCorey Minyard <cminyard@mvista.com>
Thu, 16 Sep 2021 16:36:20 +0000 (11:36 -0500)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Thu, 13 Jan 2022 17:42:08 +0000 (18:42 +0100)
commit106d168f04c30268e32960b1b42a71aec7c0dd0f
treec996ffc550fae73308cc9c6c0e096fd2c8fcbf3c
parent2922b2aab68094670fc8b72607c11995f4fbb1f6
ipmi: Disable some operations during a panic

BugLink: https://bugs.launchpad.net/bugs/1953387
[ Upstream commit b36eb5e7b75a756baa64909a176dd4269ee05a8b ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
drivers/char/ipmi/ipmi_msghandler.c
drivers/char/ipmi/ipmi_watchdog.c