]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] bnx2i: Allow to abort the connection if connect request times out
authorEddie Wai <eddie.wai@broadcom.com>
Tue, 23 Nov 2010 23:29:25 +0000 (15:29 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 21 Dec 2010 18:24:12 +0000 (12:24 -0600)
commit896c464fbbeea271a4141520f0967a22c77f1987
treeb8c23590516f965f2b21af146b5eab8d9670e264
parent572d94c74a744a7b79613749adaee63e3ceac757
[SCSI] bnx2i: Allow to abort the connection if connect request times out

In the situation where the connect completion response arrives after
the connect request has already timed out, the connection was not being
aborted but only the resource was being freed.  This creates a problem
for 5771X (10g) as the chip flags this with an assertion.

This change will properly aborts the connection before freeing the
resource.

Signed-off-by: Eddie Wai <eddie.wai@broadcom.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/bnx2i/bnx2i_iscsi.c