diff options
author | Stanislav Fomichev <sdf@google.com> | 2019-04-11 15:47:07 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-04-12 00:53:00 +0200 |
commit | 947e8b595b82d3551750641445d0a97b8f29b536 (patch) | |
tree | 24574cb59c6ba3a5455d910bfeff35af084f8316 /Makefile | |
parent | 6b7a21140fca461c6d8d5c65a3746e7da50a409e (diff) | |
download | linux-stable-947e8b595b82d3551750641445d0a97b8f29b536.tar.gz linux-stable-947e8b595b82d3551750641445d0a97b8f29b536.tar.bz2 linux-stable-947e8b595b82d3551750641445d0a97b8f29b536.zip |
bpf: explicitly prohibit ctx_{in, out} in non-skb BPF_PROG_TEST_RUN
This should allow us later to extend BPF_PROG_TEST_RUN for non-skb case
and be sure that nobody is erroneously setting ctx_{in,out}.
Fixes: b0b9395d865e ("bpf: support input __sk_buff context in BPF_PROG_TEST_RUN")
Reported-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions