# Re: \[PATCH net-next v5 4/7\] net: raw: use sk\_skb\_reason\_drop to free rx packets

- From: Jesper Dangaard Brouer \<hawk@kernel.org\>
- Date: 2024-06-18 06:19:39 
- List: linux-trace-kernel
- Page: https://ratatoskr.run/linux-trace-kernel/2024/06/2642540
- Thread: https://ratatoskr.run/netdev/2024/06/2641968/t.md

```text

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<redacted>
> ---
>   net/ipv4/raw.c | 4 ++--
>   net/ipv6/raw.c | 8 ++++----
>   2 files changed, 6 insertions(+), 6 deletions(-)


Acked-by: Jesper Dangaard Brouer <hawk@kernel.org>
```
