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)
commit6ebb85c83aaf6ae75b920ef45d2a9eee42079265
tree738b98ec90d00d22a30a333a033aef20583d8c8b
parentab53cad90eb10c9991f501ba08904680a074ef3d
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