]> www.infradead.org Git - users/dwmw2/linux.git/commit
tcp: rstreason: introduce SK_RST_REASON_TCP_STATE for active reset
authorJason Xing <kernelxing@tencent.com>
Fri, 2 Aug 2024 10:21:09 +0000 (18:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Aug 2024 09:24:45 +0000 (10:24 +0100)
commitedefba66d929eb2d023df93a0a8175a4ffe82684
treef3cd5a52524fa173fefb0993396710a9c2868ea7
parent8407994f0c3594eb3854e3799af86224f4a8e6e6
tcp: rstreason: introduce SK_RST_REASON_TCP_STATE for active reset

Introducing a new type TCP_STATE to handle some reset conditions
appearing in RFC 793 due to its socket state. Actually, we can look
into RFC 9293 which has no discrepancy about this part.

Signed-off-by: Jason Xing <kernelxing@tencent.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/rstreason.h
net/ipv4/tcp.c
net/ipv4/tcp_timer.c