diff options
author | Thomas Graf <tgraf@suug.ch> | 2016-12-05 10:30:52 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-06 10:14:52 -0500 |
commit | 3f731d89e4071086b6d4764ef6ee80c1099c639d (patch) | |
tree | d8756ddf2bfbc02c3d0bc7fa2d919eba375374f8 /Kconfig | |
parent | fd7aabb062fa1a8331a786d617744de220eaf002 (diff) |
bpf: add additional verifier tests for BPF_PROG_TYPE_LWT_*
- direct packet read is allowed for LWT_*
- direct packet write for LWT_IN/LWT_OUT is prohibited
- direct packet write for LWT_XMIT is allowed
- access to skb->tc_classid is prohibited for LWT_*
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions