aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorZhengchao Shao <[email protected]>2023-01-04 10:04:24 +0800
committerEric Van Hensbergen <[email protected]>2023-02-24 13:42:28 +0000
commit74a25e6e916cb57dab4267a96fbe8864ed21abdb (patch)
tree69376f46a4041ddb71a97764f34d3449d01661c9 /tools/perf/util/scripting-engines/trace-event-python.c
parentc15fe55d14b3b4ded5af2a3260877460a6ffb8ad (diff)
9p/rdma: unmap receive dma buffer in rdma_request()/post_recv()
When down_interruptible() or ib_post_send() failed in rdma_request(), receive dma buffer is not unmapped. Add unmap action to error path. Also if ib_post_recv() failed in post_recv(), dma buffer is not unmapped. Add unmap action to error path. Link: https://lkml.kernel.org/r/[email protected] Fixes: fc79d4b104f0 ("9p: rdma: RDMA Transport Support for 9P") Signed-off-by: Zhengchao Shao <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Signed-off-by: Dominique Martinet <[email protected]> Signed-off-by: Eric Van Hensbergen <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions