aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/bpf/libbpf.c
diff options
context:
space:
mode:
authorAshok Raj <[email protected]>2017-08-08 13:29:28 -0700
committerJoerg Roedel <[email protected]>2017-08-30 17:48:18 +0200
commit11b93ebfa03e1cf45d9ad508eaf2c4d3547e06ca (patch)
tree17e1e367013c49a5a5304fb32a72535e7eaf3dbf /tools/lib/bpf/libbpf.c
parent9d8c3af31607819a61011d746e861b8096ac9761 (diff)
iommu/vt-d: Avoid calling virt_to_phys() on null pointer
New kernels with debug show panic() from __phys_addr() checks. Avoid calling virt_to_phys() when pasid_state_tbl pointer is null To: Joerg Roedel <[email protected]> To: [email protected]> Cc: [email protected] Cc: David Woodhouse <[email protected]> Cc: Jacob Pan <[email protected]> Cc: Ashok Raj <[email protected]> Fixes: 2f26e0a9c9860 ('iommu/vt-d: Add basic SVM PASID support') Signed-off-by: Ashok Raj <[email protected]> Acked-by: David Woodhouse <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions