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
Also in
linux-trace-kernel, lkml
Reply to
Yan Zhai, 2024-06-17
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/ (local)
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>
Thread (16 messages) 16 messages, 3 authors, last reply 2024-06-19
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help