aboutsummaryrefslogtreecommitdiff
path: root/include/rv
diff options
context:
space:
mode:
authorYan Zhai <yan@cloudflare.com>2024-06-17 11:09:04 -0700
committerDavid S. Miller <davem@davemloft.net>2024-06-19 12:44:22 +0100
commitc53795d48ee8f385c6a9e394651e7ee914baaeba (patch)
tree87256aafb7ba058f39f10dca3ee7118926769d44 /include/rv
parent6f46fc9bc2bda2254189f547110b9e87e5f100f2 (diff)
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 'include/rv')
0 files changed, 0 insertions, 0 deletions