diff options
author | Andrey Ignatov <[email protected]> | 2018-12-13 13:19:01 -0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2018-12-13 23:42:16 +0100 |
commit | 28c1272914613b6c5a0129d6d502c790d4f23d6c (patch) | |
tree | 111a70743c7fff1c8f4a0a1720203818f8d89bc6 /tools/perf/util/c++/clang.cpp | |
parent | 9f8c1c5712954f9d8877ac55b18adbdf03e51e1f (diff) |
selftests/bpf: Fix sk lookup usage in test_sock_addr
Semantic of netns_id argument of bpf_sk_lookup_tcp and bpf_sk_lookup_udp
was changed (fixed) in f71c6143c203. Corresponding changes have to be
applied to all call sites in selftests. The patch fixes corresponding
call sites in test_sock_addr test: pass BPF_F_CURRENT_NETNS instead of 0
in netns_id argument.
Fixes: f71c6143c203 ("bpf: Support sk lookup in netns with id 0")
Reported-by: Yonghong Song <[email protected]>
Signed-off-by: Andrey Ignatov <[email protected]>
Acked-by: Joe Stringer <[email protected]>
Tested-by: Yonghong Song <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions