diff options
| author | Christian Gmeiner <[email protected]> | 2019-10-25 10:39:10 +0000 |
|---|---|---|
| committer | Lucas Stach <[email protected]> | 2019-10-29 17:12:24 +0000 |
| commit | a2f10d4a3069fee666dab20fab5458757ba1f22d (patch) | |
| tree | 09e9a62fce1e211c12d56e559ba46a8f581dd9e3 /net/unix/af_unix.c | |
| parent | drm/etnaviv: reinstate MMUv1 command buffer window check (diff) | |
| download | kernel-a2f10d4a3069fee666dab20fab5458757ba1f22d.tar.gz kernel-a2f10d4a3069fee666dab20fab5458757ba1f22d.zip | |
drm/etnaviv: fix dumping of iommuv2
etnaviv_iommuv2_dump_size(..) returns the number of PTE * SZ_4K but
etnaviv_iommuv2_dump(..) increments buf pointer even if there is no PTE.
This results in a bad buf pointer which gets used for memcpy(..), when
copying the MMU state in the coredump buffer.
Fixes: afb7b3b1deb4 ("drm/etnaviv: implement IOMMUv2 translation")
Cc: [email protected]
Signed-off-by: Christian Gmeiner <[email protected]>
Signed-off-by: Lucas Stach <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
