Re: [PATCH net-next v5 3/7] ping: use sk_skb_reason_drop to free rx packets

2024-06-18 Thread Jesper Dangaard Brouer
On 17/06/2024 20.09, Yan Zhai wrote: Replace kfree_skb_reason with sk_skb_reason_drop and pass the receiving socket to the tracepoint. Signed-off-by: Yan Zhai --- net/ipv4/ping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Jesper Dangaard Brouer

[PATCH net-next v5 3/7] ping: use sk_skb_reason_drop to free rx packets

2024-06-17 Thread Yan Zhai
Replace kfree_skb_reason with sk_skb_reason_drop and pass the receiving socket to the tracepoint. Signed-off-by: Yan Zhai --- net/ipv4/ping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/ping.c b/net/ipv4/ping.c index 823306487a82..619ddc087957 100644 ---