diff options
author | 2023-03-31 23:34:24 -0700 | |
---|---|---|
committer | 2023-04-13 12:17:32 -0300 | |
commit | aca3b0fa3d04b40c96934d86cc224cccfa7ea8e0 (patch) | |
tree | eff591f9e7f1a8fb5f6902683009c2dd24d58964 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | RDMA/cma: Allow UD qp_type to join multicast only (diff) | |
download | wireguard-linux-aca3b0fa3d04b40c96934d86cc224cccfa7ea8e0.tar.xz wireguard-linux-aca3b0fa3d04b40c96934d86cc224cccfa7ea8e0.zip |
RDMA/core: Fix GID entry ref leak when create_ah fails
If AH create request fails, release sgid_attr to avoid GID entry
referrence leak reported while releasing GID table
Fixes: 1a1f460ff151 ("RDMA: Hold the sgid_attr inside the struct ib_ah/qp")
Link: https://lore.kernel.org/r/20230401063424.342204-1-saravanan.vajravel@broadcom.com
Reviewed-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Saravanan Vajravel <saravanan.vajravel@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions