Message ID | 20220317113920.1068535-2-jakub@cloudflare.com (mailing list archive) |
---|---|
State | Accepted |
Commit | a4c9fe0ed4a13e25e43fcd44d9f89bc19ba8fbb7 |
Delegated to: | BPF |
Headers | show |
Series | Fixes for sock_fields selftests | expand |
diff --git a/tools/testing/selftests/bpf/progs/test_sock_fields.c b/tools/testing/selftests/bpf/progs/test_sock_fields.c index 246f1f001813..3e2e3ee51cc9 100644 --- a/tools/testing/selftests/bpf/progs/test_sock_fields.c +++ b/tools/testing/selftests/bpf/progs/test_sock_fields.c @@ -114,7 +114,7 @@ static void tpcpy(struct bpf_tcp_sock *dst, #define RET_LOG() ({ \ linum = __LINE__; \ - bpf_map_update_elem(&linum_map, &linum_idx, &linum, BPF_NOEXIST); \ + bpf_map_update_elem(&linum_map, &linum_idx, &linum, BPF_ANY); \ return CG_OK; \ })