]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
commit252e44805bcfff5de2e05dd126f69a18e0b760f0
treeb8c23590516f965f2b21af146b5eab8d9670e264
parent94810e824df1509ad3ba401e57f74b922fd928c5
[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