Re: [PATCH net-next] trace: tcp: Add const qualifier to skb parameter in tcp_probe event
From: Kuniyuki Iwashima
Date: Wed Apr 16 2025 - 15:36:40 EST
From: Breno Leitao <leitao@xxxxxxxxxx>
Date: Wed, 16 Apr 2025 10:06:12 -0700
> Change the tcp_probe tracepoint to accept a const struct sk_buff
> parameter instead of a non-const one. This improves type safety and
> better reflects that the skb is not modified within the tracepoint
> implementation.
>
> Signed-off-by: Breno Leitao <leitao@xxxxxxxxxx>
Reviewed-by: Kuniyuki Iwashima <kuniyu@xxxxxxxxxx>