diff options
| author | Leon Romanovsky <leonro@mellanox.com> | 2019-05-28 14:37:27 +0300 |
|---|---|---|
| committer | Doug Ledford <dledford@redhat.com> | 2019-06-11 16:12:34 -0400 |
| commit | 147b308e6a63a0572b750b1dc9b8b6fc33997e4b (patch) | |
| tree | 4eb3502ef1d3e856e82d8449c5db7e5a2f7732c5 /tools/perf/scripts/python/syscall-counts.py | |
| parent | RDMA: Move owner into struct ib_device_ops (diff) | |
| download | linux-147b308e6a63a0572b750b1dc9b8b6fc33997e4b.tar.gz 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 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
