[SCSI] bnx2i: Fixed a cid leak issue for 5771X (10g)
authorEddie Wai <eddie.wai@broadcom.com>
Tue, 23 Nov 2010 23:29:23 +0000 (15:29 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 21 Dec 2010 18:24:11 +0000 (12:24 -0600)
commit5bf3f39f9bda2750145a7da69ea9ae76d0054956
tree3f6bb4ebe9309fbdc331e4443a148dfd071679e7
parentcf464fc5eb272f3f5964560ef2b8d632333afe0d
[SCSI] bnx2i: Fixed a cid leak issue for 5771X (10g)

A cid leak issue was found when the connect destroy request exceeded
the driver's disconnection timeout.  This will lead to a cid resource
leak issue.
The fix is to allow the cid cleanup even when this happens.

Signed-off-by: Eddie Wai <eddie.wai@broadcom.com>
Acked-by: Anil Veerabhadrappa <anilgv@broadcom.com>
Reviewed-by: Michael Chan <mchan@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