]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit86be863ac21ac283647a56f2789a0a10b9262fc7
treeed241c8c2f26c6dbc38b8292f50e2b4423e0a6fd
parent01e687635a000dd6ad620aaaada2159c41cae32f
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