tcp: rstreason: introduce SK_RST_REASON_TCP_ABORT_ON_CLOSE for active reset
authorJason Xing <kernelxing@tencent.com>
Fri, 2 Aug 2024 10:21:06 +0000 (18:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Aug 2024 09:24:45 +0000 (10:24 +0100)
commit90c36325c796cc7111329607a649c34f4979c78e
tree17a66d748d0dab7723e13d00c4314e850bf1c781
parent2c14119ab8f356cb429a5f4855b7880f33cfb981
tcp: rstreason: introduce SK_RST_REASON_TCP_ABORT_ON_CLOSE for active reset

Introducing a new type TCP_ABORT_ON_CLOSE for tcp reset reason to handle
the case where more data is unread in closing phase.

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