diff options
author | 2015-10-15 21:12:56 +0100 | |
---|---|---|
committer | 2015-10-15 21:16:22 +0100 | |
commit | 26322ab55aa90717c7e4bdbd8cf60a70854636f5 (patch) | |
tree | c3917aaa63647b39f416393652ece849e50d9e02 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iommu/vt-d: Implement SVM_FLAG_SUPERVISOR_MODE for kernel access (diff) | |
download | wireguard-linux-26322ab55aa90717c7e4bdbd8cf60a70854636f5.tar.xz wireguard-linux-26322ab55aa90717c7e4bdbd8cf60a70854636f5.zip |
iommu/vt-d: Fix NULL pointer dereference in page request error case
Dan Carpenter pointed out an error path which could lead to us
dereferencing the 'svm' pointer after we know it to be NULL because the
PASID lookup failed. Fix that, and make it less likely to happen again.
Fixes: a222a7f0bb6c ('iommu/vt-d: Implement page request handling')
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions