aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2018-07-10 10:31:58 -0700
committerJason Gunthorpe <[email protected]>2018-07-13 11:55:32 -0600
commit847462de3a0aabc5343a1e338537f69a03bb61af (patch)
treed27b446d72051a69436a1feb99cc6613a8a37a69 /tools/perf/util/scripting-engines/trace-event-perl.c
parent05f58ceba123bdb420cf44c6ea04b6db467edd1c (diff)
IB/srpt: Fix srpt_cm_req_recv() error path (1/2)
Once a target session has been allocated, if an error occurs, the session must be freed. Since it is not safe to call blocking code from the context of an connection manager callback, trigger target session release in this case by calling srpt_close_ch(). Fixes: db7683d7deb2 ("IB/srpt: Fix login-related race conditions") Signed-off-by: Bart Van Assche <[email protected]> Cc: <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions