Re: [PATCH net-next v5 2/7] net: introduce sk_skb_reason_drop function

2024-06-18 Thread Jesper Dangaard Brouer
On 17/06/2024 20.09, Yan Zhai wrote: Long used destructors kfree_skb and kfree_skb_reason do not pass receiving socket to packet drop tracepoints trace_kfree_skb. This makes it hard to track packet drops of a certain netns (container) or a socket (user application). The naming of these

[PATCH net-next v5 2/7] net: introduce sk_skb_reason_drop function

2024-06-17 Thread Yan Zhai
Long used destructors kfree_skb and kfree_skb_reason do not pass receiving socket to packet drop tracepoints trace_kfree_skb. This makes it hard to track packet drops of a certain netns (container) or a socket (user application). The naming of these destructors are also not consistent with most