diff options
author | Tyrel Datwyler <tyreld@linux.ibm.com> | 2020-06-03 15:36:32 -0500 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-06-09 21:57:27 -0400 |
commit | 4919b33b63c8b69d8dcf2b867431d0e3b6dc6d28 (patch) | |
tree | a8da4433cec8d0156301a3d4e789cd659ab7c1a0 /drivers/scsi/libiscsi.c | |
parent | 6555781b3fdec5e94e6914511496144241df7dee (diff) | |
download | linux-stable-4919b33b63c8b69d8dcf2b867431d0e3b6dc6d28.tar.gz linux-stable-4919b33b63c8b69d8dcf2b867431d0e3b6dc6d28.tar.bz2 linux-stable-4919b33b63c8b69d8dcf2b867431d0e3b6dc6d28.zip |
scsi: ibmvscsi: Don't send host info in adapter info MAD after LPM
The adapter info MAD is used to send the client info and receive the host
info as a response. A persistent buffer is used and as such the client info
is overwritten after the response. During the course of a normal adapter
reset the client info is refreshed in the buffer in preparation for sending
the adapter info MAD.
However, in the special case of LPM where we reenable the CRQ instead of a
full CRQ teardown and reset we fail to refresh the client info in the
adapter info buffer. As a result, after Live Partition Migration (LPM) we
erroneously report the host's info as our own.
[mkp: typos]
Link: https://lore.kernel.org/r/20200603203632.18426-1-tyreld@linux.ibm.com
Signed-off-by: Tyrel Datwyler <tyreld@linux.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/libiscsi.c')
0 files changed, 0 insertions, 0 deletions