HomeFreeBSD

tcp: use a single counter for limiting the RST rate

Description

tcp: use a single counter for limiting the RST rate

Using two counters does not provide any benefit, but it provides an
externally observable signal whether there is a listening port.

Reviewed by: Nick Banks, Peter Lei
MFC after: 1 week
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D51440

Details

Provenance
tuexenAuthored on Jul 21 2025, 8:07 AM
Reviewer
nick
Differential Revision
D51440: tcp: use a single counter for limiting the RST rate
Parents
rG2385565fac21: tcp rack: remove duplicate header include
Branches
Unknown
Tags
Unknown