]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tcp: add LINUX_MIB_PAWS_TW_REJECTED counter
authorJiayuan Chen <jiayuan.chen@linux.dev>
Wed, 9 Apr 2025 11:26:05 +0000 (19:26 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 11 Apr 2025 01:29:26 +0000 (18:29 -0700)
commitc449d5f3a3d70b6223af8df2cadca3ca6eacb613
tree17c840dfae170b04d08de7c499e63d17b69d98f5
parent04271411121a58d37f47b065bc872f333274bf1f
tcp: add LINUX_MIB_PAWS_TW_REJECTED counter

When TCP is in TIME_WAIT state, PAWS verification uses
LINUX_PAWSESTABREJECTED, which is ambiguous and cannot be distinguished
from other PAWS verification processes.

We added a new counter, like the existing PAWS_OLD_ACK one.

Also we update the doc with previously missing PAWS_OLD_ACK.

usage:
'''
nstat -az | grep PAWSTimewait
TcpExtPAWSTimewait              1                  0.0
'''

Suggested-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jiayuan Chen <jiayuan.chen@linux.dev>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250409112614.16153-3-jiayuan.chen@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/networking/net_cachelines/snmp.rst
include/net/dropreason-core.h
include/uapi/linux/snmp.h
net/ipv4/proc.c
net/ipv4/tcp_minisocks.c