diff options
author | Neta Ostrovsky <[email protected]> | 2021-01-13 15:02:14 +0200 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2021-01-14 12:53:13 -0400 |
commit | 7c7b3e5d9aeed31d35c5dab0bf9c0fd4c8923206 (patch) | |
tree | 6597b1dbb1a82e4af39868e23fb7dc9a42a91ccf /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 1c3aa6bd0b823105c2030af85d92d158e815d669 (diff) |
RDMA/cma: Fix error flow in default_roce_mode_store
In default_roce_mode_store(), we took a reference to cma_dev, but didn't
return it with cma_dev_put in the error flow.
Fixes: 1c15b4f2a42f ("RDMA/core: Modify enum ib_gid_type and enum rdma_network_type")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Neta Ostrovsky <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions