linux-stable/drivers/infiniband/ulp/iser
Sagi Grimberg 66739379d5 iser: set sector for ambiguous mr status errors
commit 24c3456c8d upstream.

If for some reason we failed to query the mr status, we need to make sure
to provide sufficient information for an ambiguous error (guard error on
sector 0).

Fixes: 0a7a08ad6f ("IB/iser: Implement check_protection")
Cc: <stable@vger.kernel.org>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-12-08 13:05:06 +01:00
..
iscsi_iser.c IB/iser: Fix connection teardown race condition 2017-07-27 15:08:05 -07:00
iscsi_iser.h RDMA/iser: Fix possible mr leak on device removal event 2017-12-25 14:23:41 +01:00
iser_initiator.c IB/iser: Use ib_drain_sq() 2016-02-29 17:10:27 -05:00
iser_memory.c IB/iser: use IB_PD_UNSAFE_GLOBAL_RKEY 2016-09-23 13:47:44 -04:00
iser_verbs.c iser: set sector for ambiguous mr status errors 2018-12-08 13:05:06 +01:00
Kconfig
Makefile