diff options
author | Joeseph Chang <[email protected]> | 2017-03-27 20:22:09 -0600 |
---|---|---|
committer | Corey Minyard <[email protected]> | 2017-04-07 12:25:22 -0500 |
commit | 6de65fcfdb51835789b245203d1bfc8d14cb1e06 (patch) | |
tree | d4c54a5c8abf83d416c72cde8374cc7224897c0c /net/unix/af_unix.c | |
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 <[email protected]>
Signed-off-by: Corey Minyard <[email protected]>
Cc: [email protected] # 3.19-
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions