diff options
author | 2017-01-05 13:28:05 +0800 | |
---|---|---|
committer | 2017-01-09 11:05:56 +0800 | |
commit | 2e51ef32b0d66fcd5fe45c437cf7c6aef8350746 (patch) | |
tree | 6b4481f7f856c56136a5a9617d06a2cf3de58647 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915/gvt: remove duplicated definition (diff) | |
download | wireguard-linux-2e51ef32b0d66fcd5fe45c437cf7c6aef8350746.tar.xz wireguard-linux-2e51ef32b0d66fcd5fe45c437cf7c6aef8350746.zip |
drm/i915/gvt: fix use after free for workload
In the function workload_thread(), we invoke complete_current_workload()
to cleanup the just processed workload (workload will be freed there).
So we cannot access workload->req after that. This patch move
complete_current_workload() afterward.
Signed-off-by: Changbin Du <changbin.du@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions