aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw
diff options
context:
space:
mode:
authorSagi Grimberg <sagi@grimberg.me>2017-02-27 20:16:33 +0200
committerDoug Ledford <dledford@redhat.com>2017-03-24 22:31:19 -0400
commitea174c9573b0e0c8bc1a7a90fe9360ccb7aa9cbb (patch)
tree7819bc75f9c2e729d6520a91872e17a9bc3defd3 /drivers/infiniband/hw
parentIB/device: Convert ib-comp-wq to be CPU-bound (diff)
downloadlinux-dev-ea174c9573b0e0c8bc1a7a90fe9360ccb7aa9cbb.tar.xz
linux-dev-ea174c9573b0e0c8bc1a7a90fe9360ccb7aa9cbb.zip
RDMA/iser: Fix possible mr leak on device removal event
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>
Diffstat (limited to 'drivers/infiniband/hw')
0 files changed, 0 insertions, 0 deletions