diff options
author | Bart Van Assche <[email protected]> | 2016-04-22 14:13:35 -0700 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2016-05-12 14:18:55 -0400 |
commit | e012f3639c95498d4e8d7a9f44e33f1cd2f241b0 (patch) | |
tree | 5fadfe86d8167acee6b01e13758034f865b84d64 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 77269cdfcab5f01ebd2095273f4060fbe1001e68 (diff) |
IB/srp: Fix srp_map_data() error paths
Ensure that req->nmdesc is set correctly in srp_map_sg() if mapping
fails. Avoid that mapping failure causes a memory descriptor leak.
Report srp_map_sg() failure to the caller.
Signed-off-by: Bart Van Assche <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Sagi Grimberg <[email protected]>
Cc: Laurence Oberman <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions