diff options
| author | Anastasia Kovaleva <[email protected]> | 2021-04-22 15:34:14 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-04-29 02:55:01 +0000 |
| commit | fcb16d9a8ecf1e9bfced0fc654ea4e2caa7517f4 (patch) | |
| tree | c882d9862ad1fe8488b92a34a757bd53e101aad0 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |
| parent | scsi: qla2xxx: Add marginal path handling support (diff) | |
| download | kernel-fcb16d9a8ecf1e9bfced0fc654ea4e2caa7517f4.tar.gz kernel-fcb16d9a8ecf1e9bfced0fc654ea4e2caa7517f4.zip | |
scsi: qla2xxx: Prevent PRLI in target mode
In a case when the initiator in P2P mode by some circumstances does not
send PRLI, the target, in a case when the target port's WWPN is less than
initiator's, changes the discovery state in DSC_GNL. When gnl completes it
sends PRLI to the initiator.
Usually the initiator in P2P mode always sends PRLI. We caught this issue
on Linux stable v5.4.6 https://www.spinics.net/lists/stable/msg458515.html.
Fix this particular corner case in the behaviour of the P2P mod target
login state machine.
Link: https://lore.kernel.org/r/[email protected]
Fixes: a9ed06d4e640 ("scsi: qla2xxx: Allow PLOGI in target mode")
Reviewed-by: Roman Bolshakov <[email protected]>
Reviewed-by: Himanshu Madhani <[email protected]>
Signed-off-by: Anastasia Kovaleva <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions
