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

- From: Jesper Dangaard Brouer \<hawk@kernel.org\>
- Date: 2024-06-18 06:24:18 
- List: netdev
- Page: https://ratatoskr.run/netdev/2024/06/2642546
- 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.
>
> Reported-by: kernel test robot<redacted>
> Closes:https://lore.kernel.org/r/202406011859.Aacus8GV-lkp@intel.com/
> Signed-off-by: Yan Zhai<redacted>
> ---
> v2->v3: fixed uninitialized sk, added missing report tags.
> ---
>   net/packet/af_packet.c | 10 +++++-----
>   1 file changed, 5 insertions(+), 5 deletions(-)

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