]> git.baikalelectronics.ru Git - kernel.git/commit
ipmi: When handling send message responses, don't process the message
authorCorey Minyard <cminyard@mvista.com>
Tue, 19 Apr 2022 17:08:09 +0000 (12:08 -0500)
committerCorey Minyard <cminyard@mvista.com>
Fri, 29 Apr 2022 15:06:37 +0000 (10:06 -0500)
commitbaa8c6c49667d3cbad94549ad44905ddc44f1086
treeed631dabd061fd7ad21f0790bac1da99e0dc5a47
parentdf093ee5ac0f73e5c5d4cd747e85d8c5f19dba8f
ipmi: When handling send message responses, don't process the message

A chunk was dropped when the code handling send messages was rewritten.
Those messages shouldn't be processed normally, they are just an
indication that the message was successfully sent and the timers should
be started for the real response that should be coming later.

Add back in the missing chunk to just discard the message and go on.

Fixes: cbb891cfd0ad ("ipmi: Add support for IPMB direct messages")
Reported-by: Joe Wiese <jwiese@rackspace.com>
Cc: stable@vger.kernel.org # v5.16+
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Tested-by: Joe Wiese <jwiese@rackspace.com>
drivers/char/ipmi/ipmi_msghandler.c