diff options
author | 2023-01-15 16:16:04 +0900 | |
---|---|---|
committer | 2023-01-15 13:32:45 -0800 | |
commit | d982a2e306954c9269a5e53561b38259e26f08bc (patch) | |
tree | 69bd59e2e02daa139b8c169004bae4178d7526a7 /samples/bpf/net_shared.h | |
parent | Merge branch 'bpf: Add ipip6 and ip6ip decap support for bpf_skb_adjust_room()' (diff) | |
download | wireguard-linux-d982a2e306954c9269a5e53561b38259e26f08bc.tar.xz wireguard-linux-d982a2e306954c9269a5e53561b38259e26f08bc.zip |
samples/bpf: ensure ipv6 is enabled before running tests
Currently, a few of BPF tests use ipv6 functionality. The problem here
is that if ipv6 is disabled, these tests will fail, and even if the
test fails, it will not tell you why it failed.
$ sudo ./test_cgrp2_sock2.sh
RTNETLINK answers: Permission denied
In order to fix this, this commit ensures ipv6 is enabled prior to
running tests.
Signed-off-by: Daniel T. Lee <danieltimlee@gmail.com>
Link: https://lore.kernel.org/r/20230115071613.125791-2-danieltimlee@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'samples/bpf/net_shared.h')
0 files changed, 0 insertions, 0 deletions