]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tcp: Use skb__nullable in trace_tcp_send_reset
authorPhilo Lu <lulie@linux.alibaba.com>
Wed, 11 Sep 2024 03:37:17 +0000 (11:37 +0800)
committerMartin KaFai Lau <martin.lau@kernel.org>
Wed, 11 Sep 2024 15:56:42 +0000 (08:56 -0700)
commitedd3f6f7588c713477e1299c38c84dcd91a7f148
treee98b2935d328c335d78902e8af93b35427c927ea
parent2060f07f861a237345922023e9347a204c0795af
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>
include/trace/events/tcp.h