Re: [PATCH net-next v5 1/7] net: add rx_sk to trace_kfree_skb

2024-06-17 Thread Jesper Dangaard Brouer
On 17/06/2024 20.09, Yan Zhai wrote: 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 ident

[PATCH net-next v5 1/7] net: add rx_sk to trace_kfree_skb

2024-06-17 Thread Yan Zhai
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 ab