summaryrefslogtreecommitdiff
path: root/net/9p/protocol.h
diff options
context:
space:
mode:
authorMartin KaFai Lau <kafai@fb.com>2020-10-12 16:49:40 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2020-10-15 20:53:15 +0200
commit8a3feed90e75283f15f830b1051bf048e4127c91 (patch)
tree111329e7cc442c40da9fca527c45fcbc133af62b /net/9p/protocol.h
parentf58423aeab28f861b67933206f322f764f05787d (diff)
bpf, selftest: Fix flaky tcp_hdr_options test when adding addr to lo
The tcp_hdr_options test adds a "::eB9F" addr to the lo dev. However, this non loopback address will have a race on ipv6 dad which may lead to EADDRNOTAVAIL error from time to time. Even nodad is used in the iproute2 command, there is still a race in when the route will be added. This will then lead to ENETUNREACH from time to time. To avoid the above, this patch uses the default loopback address "::1" to do the test. Fixes: ad2f8eb0095e ("bpf: selftests: Tcp header options") Reported-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20201012234940.1707941-1-kafai@fb.com
Diffstat (limited to 'net/9p/protocol.h')
0 files changed, 0 insertions, 0 deletions