diff options
author | Joeseph Chang <joechang@codeaurora.org> | 2017-03-27 20:22:09 -0600 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2017-04-07 12:25:22 -0500 |
commit | 6de65fcfdb51835789b245203d1bfc8d14cb1e06 (patch) | |
tree | d4c54a5c8abf83d416c72cde8374cc7224897c0c /samples/livepatch | |
parent | ea6200e84182989a3cce9687cf79a23ac44ec4db (diff) |
ipmi: Fix kernel panic at ipmi_ssif_thread()
msg_written_handler() may set ssif_info->multi_data to NULL
when using ipmitool to write fru.
Before setting ssif_info->multi_data to NULL, add new local
pointer "data_to_send" and store correct i2c data pointer to
it to fix NULL pointer kernel panic and incorrect ssif_info->multi_pos.
Signed-off-by: Joeseph Chang <joechang@codeaurora.org>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Cc: stable@vger.kernel.org # 3.19-
Diffstat (limited to 'samples/livepatch')
0 files changed, 0 insertions, 0 deletions