aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorMd Haris Iqbal <[email protected]>2022-02-17 04:09:29 +0100
committerJason Gunthorpe <[email protected]>2022-02-18 11:59:33 -0400
commitc46fa8911b17e3f808679061a8af8bee219f4602 (patch)
tree0e342c4ab8de920f95c177b2bc4468bc131d4472 /scripts/gdb/linux/utils.py
parent8700af2cc18c919b2a83e74e0479038fd113c15d (diff)
RDMA/rtrs-clt: Move free_permit from free_clt to rtrs_clt_close
Error path of rtrs_clt_open() calls free_clt(), where free_permit is called. This is wrong since error path of rtrs_clt_open() does not need to call free_permit(). Also, moving free_permits() call to rtrs_clt_close(), makes it more aligned with the call to alloc_permit() in rtrs_clt_open(). Fixes: 6a98d71daea1 ("RDMA/rtrs: client: main functionality") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Md Haris Iqbal <[email protected]> Reviewed-by: Jack Wang <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions