diff options
author | 2023-01-12 13:16:02 -0500 | |
---|---|---|
committer | 2023-01-22 12:42:24 +0200 | |
commit | 6601fc0d15ffc20654e39486f9bef35567106d68 (patch) | |
tree | 6b02cc87be06c1f668dde4279f6a1ee2ea1550cb /tools/perf/scripts/python | |
parent | lib/scatterlist: Fix to calculate the last_pg properly (diff) | |
download | wireguard-linux-6601fc0d15ffc20654e39486f9bef35567106d68.tar.xz wireguard-linux-6601fc0d15ffc20654e39486f9bef35567106d68.zip |
IB/hfi1: Restore allocated resources on failed copyout
Fix a resource leak if an error occurs.
Fixes: f404ca4c7ea8 ("IB/hfi1: Refactor hfi_user_exp_rcv_setup() IOCTL")
Signed-off-by: Dean Luick <dean.luick@cornelisnetworks.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
Link: https://lore.kernel.org/r/167354736291.2132367.10894218740150168180.stgit@awfm-02.cornelisnetworks.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions