Commit 1df4a945 authored by Breno Leitao's avatar Breno Leitao Committed by Jakub Kicinski
Browse files

trace: tcp: Add const qualifier to skb parameter in tcp_probe event



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: default avatarBreno Leitao <leitao@debian.org>
Reviewed-by: default avatarKuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20250416-tcp_probe-v1-1-1edc3c5a1cb8@debian.org


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 2b905deb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment