diff options
author | Stanislav Fomichev <sdf@google.com> | 2019-04-12 01:47:07 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-04-12 01:53:00 +0300 |
commit | 947e8b595b82d3551750641445d0a97b8f29b536 (patch) | |
tree | 24574cb59c6ba3a5455d910bfeff35af084f8316 /scripts | |
parent | 6b7a21140fca461c6d8d5c65a3746e7da50a409e (diff) | |
download | linux-947e8b595b82d3551750641445d0a97b8f29b536.tar.xz |
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 'scripts')
0 files changed, 0 insertions, 0 deletions