]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] libfc: fix indefinite rport restart
authorJoe Eykholt <jeykholt@cisco.com>
Fri, 11 Jun 2010 23:44:57 +0000 (16:44 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 27 Jul 2010 17:01:53 +0000 (12:01 -0500)
commit18f8c97ba0db5d81e881f4cc975b47ae0f5b1ff7
tree4570860e30b7dfcaedceff905eeb1ab244b1a504
parent1311274d75da865464b858397360d11ac189aeb8
[SCSI] libfc: fix indefinite rport restart

Remote ports were restarting indefinitely after getting
rejects in PRLI.

Fix by adding a counter of restarts and limiting that with
the port login retry limit as well.

Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/libfc/fc_rport.c
include/scsi/libfc.h