Skip to content
Commit 78e52272 authored by David Miller's avatar David Miller Committed by David S. Miller
Browse files

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: default avatarDavid S. Miller <davem@davemloft.net>
Acked-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
parent 4e9c3a66
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment