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

From: Jesper Dangaard Brouer
Date: Tue Jun 18 2024 - 02:21:55 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/202406011539.jhwBd7DX-lkp@xxxxxxxxx/
Signed-off-by: Yan Zhai<yan@xxxxxxxxxxxxxx>
---
v2->v3: added missing report tags
---
net/ipv4/syncookies.c | 2 +-
net/ipv4/tcp_input.c | 2 +-
net/ipv4/tcp_ipv4.c | 6 +++---
net/ipv6/syncookies.c | 2 +-
net/ipv6/tcp_ipv6.c | 6 +++---
5 files changed, 9 insertions(+), 9 deletions(-)

Acked-by: Jesper Dangaard Brouer <hawk@xxxxxxxxxx>