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(-)