diff options
author | Philo Lu <lulie@linux.alibaba.com> | 2024-09-11 11:37:17 +0800 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2024-09-11 08:56:42 -0700 |
commit | edd3f6f7588c713477e1299c38c84dcd91a7f148 (patch) | |
tree | e98b2935d328c335d78902e8af93b35427c927ea /tools/testing/selftests/bpf/prog_tests/dynptr.c | |
parent | 2060f07f861a237345922023e9347a204c0795af (diff) |
tcp: Use skb__nullable in trace_tcp_send_reset
Replace skb with skb__nullable as the argument name. The suffix tells
bpf verifier through btf that the arg could be NULL and should be
checked in tp_btf prog.
For now, this is the only nullable argument in tcp tracepoints.
Signed-off-by: Philo Lu <lulie@linux.alibaba.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/r/20240911033719.91468-4-lulie@linux.alibaba.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/dynptr.c')
0 files changed, 0 insertions, 0 deletions