netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] tcp: __tcp_close() changes
@ 2025-09-03  8:47 Eric Dumazet
  2025-09-03  8:47 ` [PATCH net-next 1/3] tcp: fix __tcp_close() to only send RST when required Eric Dumazet
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Eric Dumazet @ 2025-09-03  8:47 UTC (permalink / raw)
  To: David S . Miller, Jakub Kicinski, Paolo Abeni, Neal Cardwell
  Cc: Simon Horman, Kuniyuki Iwashima, netdev, eric.dumazet,
	Eric Dumazet

First patch fixes a rare bug.

Second patch adds a corresponding packetdrill test.

Third patch is a small optimization.

Eric Dumazet (3):
  tcp: fix __tcp_close() to only send RST when required
  selftests/net: packetdrill: add tcp_close_no_rst.pkt
  tcp: use tcp_eat_recv_skb in __tcp_close()

 net/ipv4/tcp.c                                | 13 ++++----
 .../net/packetdrill/tcp_close_no_rst.pkt      | 32 +++++++++++++++++++
 2 files changed, 39 insertions(+), 6 deletions(-)
 create mode 100644 tools/testing/selftests/net/packetdrill/tcp_close_no_rst.pkt

-- 
2.51.0.338.gd7d06c2dae-goog


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2025-09-05  2:20 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-03  8:47 [PATCH net-next 0/3] tcp: __tcp_close() changes Eric Dumazet
2025-09-03  8:47 ` [PATCH net-next 1/3] tcp: fix __tcp_close() to only send RST when required Eric Dumazet
2025-09-03 15:07   ` Neal Cardwell
2025-09-03 18:28     ` Kuniyuki Iwashima
2025-09-04  5:03   ` Jason Xing
2025-09-04  5:31     ` Kuniyuki Iwashima
2025-09-04  6:19       ` Jason Xing
2025-09-04  6:44         ` Eric Dumazet
2025-09-04  6:49           ` Jason Xing
2025-09-03  8:47 ` [PATCH net-next 2/3] selftests/net: packetdrill: add tcp_close_no_rst.pkt Eric Dumazet
2025-09-03 15:08   ` Neal Cardwell
2025-09-03 18:28     ` Kuniyuki Iwashima
2025-09-04  6:20   ` Jason Xing
2025-09-03  8:47 ` [PATCH net-next 3/3] tcp: use tcp_eat_recv_skb in __tcp_close() Eric Dumazet
2025-09-03 15:09   ` Neal Cardwell
2025-09-03 18:30     ` Kuniyuki Iwashima
2025-09-04  6:34   ` Jason Xing
2025-09-05  2:20 ` [PATCH net-next 0/3] tcp: __tcp_close() changes patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).