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

2024-06-17 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. Reported-by: kernel test robot Closes:https://lore.kernel.org/r/202406011859.aacus8gv-...@intel.com/ Signed-off-by: Yan Zhai --- v2->v3: fixed uninitialized sk

[PATCH net-next v5 7/7] af_packet: 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. Reported-by: kernel test robot Closes: https://lore.kernel.org/r/202406011859.aacus8gv-...@intel.com/ Signed-off-by: Yan Zhai --- v2->v3: fixed uninitialized sk, added missing report tags. --- net/