cxgbit: Abort the TCP connection in case of data out timeout
authorVarun Prakash <varun@chelsio.com>
Wed, 4 Oct 2017 16:33:35 +0000 (22:03 +0530)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sat, 4 Nov 2017 21:54:40 +0000 (14:54 -0700)
commit1ae01724ae92004be36a6c11c4d5a9f94e915204
treeed241c8c2f26c6dbc38b8292f50e2b4423e0a6fd
parentb849b4567549d5a54ab34ffacfd48fca05e8b34e
cxgbit: Abort the TCP connection in case of data out timeout

If DDP is programmed for a WRITE cmd and data out
timer gets expired then abort the TCP connection
before freeing the cmd to avoid any possibility of
DDP after freeing the cmd.

Signed-off-by: Varun Prakash <varun@chelsio.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/cxgbit/cxgbit.h
drivers/target/iscsi/cxgbit/cxgbit_cm.c
drivers/target/iscsi/cxgbit/cxgbit_ddp.c