commit | 78e5227237cae9172dd50c3ebb08d4fb31530676 | [log] [tgz] |
---|---|---|
author | David Miller <davem@davemloft.net> | Tue May 02 11:36:33 2017 -0400 |
committer | David S. Miller <davem@davemloft.net> | Tue May 02 11:46:28 2017 -0400 |
tree | dee17546a9954815c29301898074534defeb3b79 | |
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 <davem@davemloft.net> Acked-by: Daniel Borkmann <daniel@iogearbox.net>