]> git.baikalelectronics.ru Git - kernel.git/commit
ipmi: Free receive messages when in an oops
authorCorey Minyard <cminyard@mvista.com>
Fri, 16 Aug 2019 21:13:42 +0000 (16:13 -0500)
committerCorey Minyard <cminyard@mvista.com>
Fri, 16 Aug 2019 21:18:18 +0000 (16:18 -0500)
commitd604ad10d72c6dfc6cf924ebc3118828d50e88b2
tree2542b278acb0b9d3163af72fd510a2b131ad56fb
parentbf62d4c296f7bf8d5f66761526f1ff58e57f4a7f
ipmi: Free receive messages when in an oops

If the driver handles a response in an oops, it was just ignoring
the message.  However, the IPMI watchdog timer was counting on the
free happening to know when panic-time messages were complete.  So
free it in all cases.

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