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)
commit2033f6858970b98c18bed4d5ae68f43d17400abc
tree2542b278acb0b9d3163af72fd510a2b131ad56fb
parent340ff31ab00bca5c15915e70ad9ada3030c98cf8
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