diff options
author | 2024-06-17 11:09:04 -0700 | |
---|---|---|
committer | 2024-06-19 12:44:22 +0100 | |
commit | c53795d48ee8f385c6a9e394651e7ee914baaeba (patch) | |
tree | 87256aafb7ba058f39f10dca3ee7118926769d44 /net/ipv6/udp.c | |
parent | Merge branch 'am65x-ptp' (diff) | |
download | wireguard-linux-c53795d48ee8f385c6a9e394651e7ee914baaeba.tar.xz wireguard-linux-c53795d48ee8f385c6a9e394651e7ee914baaeba.zip |
net: add rx_sk to trace_kfree_skb
skb does not include enough information to find out receiving
sockets/services and netns/containers on packet drops. In theory
skb->dev tells about netns, but it can get cleared/reused, e.g. by TCP
stack for OOO packet lookup. Similarly, skb->sk often identifies a local
sender, and tells nothing about a receiver.
Allow passing an extra receiving socket to the tracepoint to improve
the visibility on receiving drops.
Signed-off-by: Yan Zhai <yan@cloudflare.com>
Acked-by: Jesper Dangaard Brouer <hawk@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/udp.c')
0 files changed, 0 insertions, 0 deletions