summaryrefslogtreecommitdiff
path: root/Documentation/filesystems/nfs/nfs-rdma.txt
diff options
context:
space:
mode:
authorSébastien Dugué <sebastien.dugue@atos.net>2015-04-09 12:13:41 +0300
committerDoug Ledford <dledford@redhat.com>2015-04-15 23:06:39 +0300
commita233c4b54c882817ae9dd73384d5dd75d3e57498 (patch)
tree070df64a981bb07eb250aa67f10d1f1252d500d5 /Documentation/filesystems/nfs/nfs-rdma.txt
parentc841e12add6926d64aa608687893465330b5a03e (diff)
downloadlinux-a233c4b54c882817ae9dd73384d5dd75d3e57498.tar.xz
ib_uverbs: Fix pages leak when using XRC SRQs
Hello, When an application using XRCs abruptly terminates, the mmaped pages of the CQ buffers are leaked. This comes from the fact that when resources are released in ib_uverbs_cleanup_ucontext(), we fail to release the CQs because their refcount is not 0. When creating an XRC SRQ, we increment the associated CQ refcount. This refcount is only decremented when the SRQ is released. Therefore we need to release the SRQs prior to the CQs to make sure that all references to the CQs are gone before trying to release these. Signed-off-by: Sebastien Dugue <sebastien.dugue@bull.net> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'Documentation/filesystems/nfs/nfs-rdma.txt')
0 files changed, 0 insertions, 0 deletions