diff options
author | Vaibhav Jain <[email protected]> | 2016-10-21 14:53:53 +0530 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2016-10-24 11:38:27 +1100 |
commit | a05b82d5149dfeef05254a11c3636a89a854520a (patch) | |
tree | 754443158c6580a98fe669086cf97f981d37d1bb /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 80f23935cadb1c654e81951f5a8b7ceae0acc1b4 (diff) |
cxl: Fix leaking pid refs in some error paths
In some error paths in functions cxl_start_context and
afu_ioctl_start_work pid references to the current & group-leader tasks
can leak after they are taken. This patch fixes these error paths to
release these pid references before exiting the error path.
Fixes: 7b8ad495d592 ("cxl: Fix DSI misses when the context owning task exits")
Cc: [email protected] # v4.5+
Reviewed-by: Andrew Donnellan <[email protected]>
Reported-by: Frederic Barrat <[email protected]>
Signed-off-by: Vaibhav Jain <[email protected]>
Acked-by: Frederic Barrat <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions