selftests/bpf: Extend bind{4,6} programs with a call to bpf_setsockopt

To make sure it doesn't trigger sock_owned_by_me splat.

Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20201202172516.3483656-4-sdf@google.com
This commit is contained in:
Stanislav Fomichev 2020-12-02 09:25:16 -08:00 • committed by Alexei Starovoitov
commit a540c81a2b
2 changed files with 62 additions and 0 deletions