commit | d2c12f56fa97df216e71437b218ffbeeb4dd46aa | [log] [tgz] |
---|---|---|
author | Corey Minyard <cminyard@mvista.com> | Thu Nov 25 08:47:27 2021 -0600 |
committer | Corey Minyard <cminyard@mvista.com> | Thu Nov 25 21:17:55 2021 -0600 |
tree | bf9f97d08f841a395cb62f70cdbd6a785d8ad386 | |
parent | c33fdfbabb6c930454df017f3cd3507dc1a87d09 [diff] |
ipmi: fix IPMI_SMI_MSG_TYPE_IPMB_DIRECT response length checking A couple of issues: The tested data sizes are wrong; during the design that changed and this got missed. The formatting of the reponse couldn't use the normal one, it has to be an IPMB formatted response. Reported-by: Jakub Kicinski <kuba@kernel.org> Fixes: 059747c245f0 ("ipmi: Add support for IPMB direct messages") Signed-off-by: Corey Minyard <cminyard@mvista.com>