summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ocrdma/ocrdma_verbs.h
diff options
context:
space:
mode:
authorLeon Romanovsky2019-05-28 13:37:27 +0200
committerDoug Ledford2019-06-11 22:12:34 +0200
commit147b308e6a63a0572b750b1dc9b8b6fc33997e4b (patch)
tree4eb3502ef1d3e856e82d8449c5db7e5a2f7732c5 /drivers/infiniband/hw/ocrdma/ocrdma_verbs.h
parentRDMA: Move owner into struct ib_device_ops (diff)
downloadkernel-qcow2-linux-147b308e6a63a0572b750b1dc9b8b6fc33997e4b.tar.gz
kernel-qcow2-linux-147b308e6a63a0572b750b1dc9b8b6fc33997e4b.tar.xz
kernel-qcow2-linux-147b308e6a63a0572b750b1dc9b8b6fc33997e4b.zip
RDMA/nes: Avoid memory allocation during CQ destroy
The memory allocation call can fail and cause to early return from nes_desotroy_cq() function. This situation will cause to memory leak of struct nes_cq. Rewrite function to avoid memory allocation. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/ocrdma/ocrdma_verbs.h')
0 files changed, 0 insertions, 0 deletions