HomeFreeBSD

tcp: drop SYN ACK segment for listening sockets

Description

tcp: drop SYN ACK segment for listening sockets

When a SYN ACK is received for a listening socket, just drop it
instead of killing the SYN-cache entry and send a RST.
This closes the possibility to kill a TCP connection during its
handling in the SYN-cache.

Approved by: re (cperciva)
Reviewed by: Nick Banks, Peter Lei
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D53540

(cherry picked from commit 239464e99321ede07664782426ec4e54cd8a618d)
(cherry picked from commit e082156ae14b6717f08dccfff62d1fcbb3b26487)

Details

Provenance
tuexenAuthored on Nov 3 2025, 10:50 AM
cpercivaCommitted on Nov 12 2025, 6:46 PM
Reviewer
nick
Differential Revision
D53540: tcp: drop SYN ACK segment for listening sockets
Parents
rGe55b2f03215e: bsdinstall: Fix newfs bsddialog menu
Branches
Unknown
Tags
Unknown