aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx4
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2019-05-28 14:37:27 +0300
committerDoug Ledford <dledford@redhat.com>2019-06-11 16:12:34 -0400
commit147b308e6a63a0572b750b1dc9b8b6fc33997e4b (patch)
tree4eb3502ef1d3e856e82d8449c5db7e5a2f7732c5 /drivers/infiniband/hw/mlx4
parentRDMA: Move owner into struct ib_device_ops (diff)
downloadlinux-dev-147b308e6a63a0572b750b1dc9b8b6fc33997e4b.tar.xz
linux-dev-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/mlx4')
0 files changed, 0 insertions, 0 deletions