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

Introducing this to show the users the reason of keepalive timeout.

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_timer.c