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

From: Jesper Dangaard Brouer
Date: Tue Jun 18 2024 - 02:24:30 EST



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<lkp@xxxxxxxxx>
Closes:https://lore.kernel.org/r/202406011859.Aacus8GV-lkp@xxxxxxxxx/
Signed-off-by: Yan Zhai<yan@xxxxxxxxxxxxxx>
---
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@xxxxxxxxxx>