android_kernel_oneplus_msm8998/drivers/infiniband/ulp/iser
Sagi Grimberg 52cd7920b7 RDMA/iser: Fix possible mr leak on device removal event
[ Upstream commit ea174c9573b0e0c8bc1a7a90fe9360ccb7aa9cbb ]

When the rdma device is removed, we must cleanup all
the rdma resources within the DEVICE_REMOVAL event
handler to let the device teardown gracefully. When
this happens with live I/O, some memory regions are
occupied. Thus, track them too and dereg all the mr's.

We are safe with mr access by iscsi_iser_cleanup_task.

Reported-by: Raju Rangoju <rajur@chelsio.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-12-25 14:22:12 +01:00
..
iscsi_iser.c IB/iser: Enable SG clustering 2015-10-28 12:26:06 -04:00
iscsi_iser.h RDMA/iser: Fix possible mr leak on device removal event 2017-12-25 14:22:12 +01:00
iser_initiator.c IB/iser: set block queue_virt_boundary 2015-10-28 12:26:06 -04:00
iser_memory.c IB/iser: Port to new fast registration API 2015-10-28 22:27:18 -04:00
iser_verbs.c RDMA/iser: Fix possible mr leak on device removal event 2017-12-25 14:22:12 +01:00
Kconfig Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
Makefile