diff options
author | Haggai Eran <[email protected]> | 2015-09-01 09:56:56 +0300 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2015-09-03 14:42:54 -0400 |
commit | 11d748045c6dadb279d1acdb6d2ea8f3f2ede85b (patch) | |
tree | 0c9fedcfe6b092e1e277b4651330ff9deb3221e0 /tools/perf/scripts/python/bin | |
parent | b632ffa7cee439ba5dce3b3bc4a5cbe2b3e20133 (diff) |
IB/mlx5: avoid destroying a NULL mr in reg_user_mr error flow
The mlx5_ib_reg_user_mr() function will attempt to call clean_mr() in
its error flow even though there is never a case where the error flow
occurs with a valid MR pointer to destroy.
Remove the clean_mr() call and the incorrect comment above it.
Fixes: b4cfe447d47b ("IB/mlx5: Implement on demand paging by adding
support for MMU notifiers")
Cc: Eli Cohen <[email protected]>
Signed-off-by: Haggai Eran <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions