[SCSI] bnx2i: Fixed the TCP graceful termination initiation
authorEddie Wai <eddie.wai@broadcom.com>
Thu, 1 Jul 2010 22:34:54 +0000 (15:34 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 27 Jul 2010 17:04:00 +0000 (12:04 -0500)
commit2eefb20dbf3032da1ad111c1ce178f899bc4859a
treec358114448f68bc7d3ffb9c79202fd42b2a68e35
parente37d2c4791480e27c2e2e4a556e4d2ba1d353ff8
[SCSI] bnx2i: Fixed the TCP graceful termination initiation

In compliance to RFC793, a TCP graceful termination will be used
instead of an abortive termination for the case where the remote
has initiated the close of the connection.
Additionally, a TCP abortive termination will be used to close the
connection when a logout response is not received in time after a
logout request has been initiated.

Signed-off-by: Eddie Wai <eddie.wai@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Reviewed-by: Benjamin Li <benli@broadcom.com>
Acked-by: Anil Veerabhadrappa <anilgv@broadcom.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/bnx2i/bnx2i.h
drivers/scsi/bnx2i/bnx2i_hwi.c
drivers/scsi/bnx2i/bnx2i_iscsi.c