diff options
author | Parav Pandit <[email protected]> | 2018-10-17 13:19:27 +0300 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2018-10-17 11:43:07 -0400 |
commit | 67fecaf8e9cc28812042f61194ac0e0a9737f897 (patch) | |
tree | 9f4e9830c345376f95e4d5aa0514ad9f4f5549ae /scripts/bpf_helpers_doc.py | |
parent | 56e027a604c80b1106786f8426e7cc5dbacb53b2 (diff) |
RDMA/core: Fix unwinding flow in case of error to register device
If port pkey list initialization fails, free the port_immutable memory
during cleanup path. Currently it is missed out.
If cache setup fails, free the pkey list during cleanup path.
Fixes: d291f1a65 ("IB/core: Enforce PKey security on QPs")
Signed-off-by: Parav Pandit <[email protected]>
Reviewed-by: Daniel Jurgens <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions