diff options
| author | Michael J. Ruhl <[email protected]> | 2017-07-24 07:45:43 -0700 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2017-07-31 15:17:54 -0400 |
| commit | 42492011ab23f44c63dad0c7096492313dc207e3 (patch) | |
| tree | 4745781a978dbd6ba25dd2ef1ec532e89c59ac22 /tools/perf/scripts/python | |
| parent | bcad29137a9731bfa5e16d64bf8e8a71a268ac88 (diff) | |
IB/hfi1: Assign context does not clean up file descriptor correctly on error
In the error path for context allocation, the file descriptor pointer
should not point to a context when an error occurs.
Clean up the appropriate references on error.
Fixes: Commit 62239fc6e5545b2e59f83dfbc5db231a81f37a45 ("IB/hfi1: Clean up on context initialization failure")
Reviewed-by: Ira Weiny <[email protected]>
Signed-off-by: Michael J. Ruhl <[email protected]>
Signed-off-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions