[PATCH net-next v4 0/7] tcp: completely support active reset
From: Jason Xing <hidden>
Date: 2024-08-02 10:21:19
From: Jason Xing <kernelxing@tencent.com> 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 Link: https://lore.kernel.org/all/20240731120955.23542-1-kerneljasonxing@gmail.com/ (local) 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 Link: https://lore.kernel.org/all/20240730133513.99986-1-kerneljasonxing@gmail.com/ (local) 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(-) -- 2.37.3