OSDN Git Service

iser-target: Fix session hang in case of an rdma read DIF error
authorSagi Grimberg <sagig@mellanox.com>
Sun, 29 Mar 2015 12:52:03 +0000 (15:52 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 May 2015 20:03:53 +0000 (22:03 +0200)
commit6c617001eadca79dc3c26a6e2d2844ad48c1a178
tree7b7214d0576fecf1a948f71a48dea4b9aa177c16
parent53e5aa168e3ba918741417ac2177db04a84f77c1
iser-target: Fix session hang in case of an rdma read DIF error

commit 364189f0ada5478e4faf8a552d6071a650d757cd upstream.

This hang was a result of a missing command put when
a DIF error occurred during a rdma read (and we sent
an CHECK_CONDITION error without passing it to the
backend).

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/ulp/isert/ib_isert.c