diff options
author | Saravanan Vajravel <[email protected]> | 2023-03-31 23:34:24 -0700 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2023-04-13 12:17:32 -0300 |
commit | aca3b0fa3d04b40c96934d86cc224cccfa7ea8e0 (patch) | |
tree | eff591f9e7f1a8fb5f6902683009c2dd24d58964 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 58e84f6b3e84e46524b7e5a916b53c1ad798bc8f (diff) |
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/[email protected]
Reviewed-by: Selvin Xavier <[email protected]>
Signed-off-by: Saravanan Vajravel <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions