Skip to content

Commit 2805485

Browse files
committed
fix
1 parent ba07f40 commit 2805485

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/bpf/progs/verifier_sock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1182,7 +1182,7 @@ int invalidate_pkt_pointers_by_tail_call_return(struct __sk_buff *sk)
11821182

11831183
if ((void *)(p + 1) > (void *)(long)sk->data_end)
11841184
return TCX_DROP;
1185-
p = bpf_tail_call_return(sk, &jmp_table, 0);
1185+
p = static_tail_call_return(sk);
11861186
*p = 42; /* this is NOT unsafe: tail calls don't return */
11871187
return TCX_PASS;
11881188
}

0 commit comments

Comments
 (0)