diff options
author | Jakub Sitnicki <[email protected]> | 2020-07-30 14:53:25 +0200 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2020-07-31 00:52:13 +0200 |
commit | a6599abdeac30063baf89df166068b20758e0e86 (patch) | |
tree | 54606362317ca9f5c0afcd2d5600e18796e9336c /tools/testing/selftests/bpf/prog_tests/queue_stack_map.c | |
parent | 80546ac4586c0bd326aa7ce80f076646db02bcd0 (diff) |
selftests/bpf: Omit nodad flag when adding addresses to loopback
Setting IFA_F_NODAD flag for IPv6 addresses to add to loopback is
unnecessary. Duplicate Address Detection does not happen on loopback
device.
Also, passing 'nodad' flag to 'ip address' breaks libbpf CI, which runs in
an environment with BusyBox implementation of 'ip' command, that doesn't
understand this flag.
Fixes: 0ab5539f8584 ("selftests/bpf: Tests for BPF_SK_LOOKUP attach point")
Reported-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Jakub Sitnicki <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Tested-by: Andrii Nakryiko <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/queue_stack_map.c')
0 files changed, 0 insertions, 0 deletions