diff options
| author | David Miller <[email protected]> | 2017-05-02 11:36:33 -0400 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-05-02 11:46:28 -0400 |
| commit | 78e5227237cae9172dd50c3ebb08d4fb31530676 (patch) | |
| tree | dee17546a9954815c29301898074534defeb3b79 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | 4e9c3a667135799d50f2778a8a8dae2ca13aafd0 (diff) | |
bpf: Do not dereference user pointer in bpf_test_finish().
Instead, pass the kattr in which has a kernel side copy of this
data structure from userspace already.
Fix based upon a suggestion from Alexei Starovoitov.
Signed-off-by: David S. Miller <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions