]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Test updating flow_dissector link with same program
authorJakub Sitnicki <jakub@cloudflare.com>
Thu, 25 Jun 2020 14:13:57 +0000 (16:13 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 30 Jun 2020 17:45:08 +0000 (10:45 -0700)
commit547fcc383f387bcb67d242ae42077f0eb0d267ce
tree738b98ec90d00d22a30a333a033aef20583d8c8b
parent91da290069c7cbd555ef2b2af021eeee476cdbbb
selftests/bpf: Test updating flow_dissector link with same program

This case, while not particularly useful, is worth covering because we
expect the operation to succeed as opposed when re-attaching the same
program directly with PROG_ATTACH.

While at it, update the tests summary that fell out of sync when tests
extended to cover links.

Signed-off-by: Jakub Sitnicki <jakub@cloudflare.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/bpf/20200625141357.910330-5-jakub@cloudflare.com
tools/testing/selftests/bpf/prog_tests/flow_dissector_reattach.c