Skip to content

tcp: completely support active reset

Jason Xing netdev 4 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest7 patches 2 repliesApplied 7/7
  2. v37 patches 6 repliesSuperseded
  3. v26 patches 9 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v16 patches4 repliesSuperseded

Patches in v4 All 7 applied

#Subject and filesSizeRepliesApplied
1/7tcp: rstreason: introduce SK_RST_REASON_TCP_ABORT_ON_CLOSE for active resetinclude/net/rstreason.h net/ipv4/tcp.c+7 -10 repliesApplied
2/7tcp: rstreason: introduce SK_RST_REASON_TCP_ABORT_ON_LINGER for active resetinclude/net/rstreason.h net/ipv4/tcp.c+7 -10 repliesApplied
3/7tcp: rstreason: introduce SK_RST_REASON_TCP_ABORT_ON_MEMORY for active resetinclude/net/rstreason.h net/ipv4/tcp.c net/ipv4/tcp_timer.c+8 -20 repliesApplied
4/7tcp: rstreason: introduce SK_RST_REASON_TCP_STATE for active resetinclude/net/rstreason.h net/ipv4/tcp.c net/ipv4/tcp_timer.c+13 -50 repliesApplied
5/7tcp: rstreason: introduce SK_RST_REASON_TCP_KEEPALIVE_TIMEOUT for active resetinclude/net/rstreason.h net/ipv4/tcp_timer.c+8 -10 repliesApplied
6/7tcp: rstreason: introduce SK_RST_REASON_TCP_DISCONNECT_WITH_DATA for active resetinclude/net/rstreason.h net/ipv4/tcp.c+10 -10 repliesApplied
7/7tcp: rstreason: let it work finally in tcp_send_active_reset()net/ipv4/tcp_output.c+1 -10 repliesApplied

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchEric Dumazet
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH net-next v4 0/7] tcp: completely support active reset

From: Jason Xing <[email protected]>

This time the patch series finally covers all the cases in the active reset logic. After this, we can know the related exact reason(s).

v4
Link:
1. revise the changelog to avoid future confusion in patch [5/7] (Eric)
2. revise the changelog of patch [6/7] like above.
3. add reviewed-by tags (Eric)

v3

1. introduce TCP_DISCONNECT_WITH_DATA reason (Eric)
2. use a better name 'TCP_KEEPALIVE_TIMEOUT' (Eric)
3. add three reviewed-by tags (Eric)

v2

1. use RFC 9293 in the comment and changelog instead of old RFC 793
2. correct the comment and changelog in patch 5

Jason Xing (7):
tcp: rstreason: introduce SK_RST_REASON_TCP_ABORT_ON_CLOSE for active
reset
tcp: rstreason: introduce SK_RST_REASON_TCP_ABORT_ON_LINGER for active
reset
tcp: rstreason: introduce SK_RST_REASON_TCP_ABORT_ON_MEMORY for active
reset
tcp: rstreason: introduce SK_RST_REASON_TCP_STATE for active reset
tcp: rstreason: introduce SK_RST_REASON_TCP_KEEPALIVE_TIMEOUT for
active reset
tcp: rstreason: introduce SK_RST_REASON_TCP_DISCONNECT_WITH_DATA for
active reset
tcp: rstreason: let it work finally in tcp_send_active_reset()

 include/net/rstreason.h | 39 +++++++++++++++++++++++++++++++++++++++
 net/ipv4/tcp.c          | 19 +++++++++++--------
 net/ipv4/tcp_output.c   |  2 +-
 net/ipv4/tcp_timer.c    |  6 +++---
 4 files changed, 54 insertions(+), 12 deletions(-)
Signature · 1 line
2.37.3