diff options
author | Stanislav Fomichev <sdf@google.com> | 2019-07-25 15:52:31 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-07-25 18:00:41 -0700 |
commit | e853ae776a58633492b59badab04f53a6b730d62 (patch) | |
tree | b10d761fe68b8f41dc500a6039ecdfefefc11fcc /.cocciconfig | |
parent | 71c99e32b926159ea628352751f66383d7d04d17 (diff) | |
download | linux-e853ae776a58633492b59badab04f53a6b730d62.tar.bz2 |
selftests/bpf: support BPF_FLOW_DISSECTOR_F_STOP_AT_ENCAP
Exit as soon as we found that packet is encapped when
BPF_FLOW_DISSECTOR_F_STOP_AT_ENCAP is passed.
Add appropriate selftest cases.
v2:
* Subtract sizeof(struct iphdr) from .iph_inner.tot_len (Willem de Bruijn)
Acked-by: Petar Penkov <ppenkov@google.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Acked-by: Song Liu <songliubraving@fb.com>
Cc: Song Liu <songliubraving@fb.com>
Cc: Willem de Bruijn <willemb@google.com>
Cc: Petar Penkov <ppenkov@google.com>
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions