]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tcp: prefer sk_skb_reason_drop()
authorEric Dumazet <edumazet@google.com>
Thu, 18 Sep 2025 13:20:07 +0000 (13:20 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 20 Sep 2025 00:00:23 +0000 (17:00 -0700)
commitb02c1230104df86d282bd298e5313bb9686cbd70
treef968e352f71e65d597d755b361b0cb91dc228032
parentd3ca2ef0c915d219e0d958e0bdcc4be6c02c210b
tcp: prefer sk_skb_reason_drop()

Replace two calls to kfree_skb_reason() with sk_skb_reason_drop().

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Daniel Zahka <daniel.zahka@gmail.com>
Reviewed-by: Dmitry Safonov <0x7f454c46@gmail.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20250918132007.325299-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/tcp_output.c
net/psp/psp_sock.c