]> git.karo-electronics.de Git - karo-tx-linux.git/commit
scsi: libfc: Return LS_RJT_BUSY for PRLI in status PLOGI
authorHannes Reinecke <hare@suse.de>
Thu, 13 Oct 2016 13:10:47 +0000 (15:10 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Nov 2016 22:29:52 +0000 (17:29 -0500)
commit8acf1b50cfa44c8260fb1fcf7464a4eee69aefcf
tree062f4c756db4f1d412b499cfa2ba81636a496147
parent386b97b43c0c9e0d878eec7ea1db16af22b036ae
scsi: libfc: Return LS_RJT_BUSY for PRLI in status PLOGI

Occasionally it might happen that we receive a PRLI while we're still
waiting for our PLOGI response. In that case we should return
'busy' LS status instead of 'plogi required' LS status.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/libfc/fc_rport.c