Page MenuHomeFreeBSD

Advertise a zero window when sending TCP RST segments via tcp_output()
ClosedPublic

Authored by tuexen on Nov 11 2018, 7:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 22, 7:43 PM
Unknown Object (File)
Sun, Mar 22, 6:06 PM
Unknown Object (File)
Sat, Mar 14, 3:49 PM
Unknown Object (File)
Feb 28 2026, 8:38 AM
Unknown Object (File)
Feb 24 2026, 9:18 PM
Unknown Object (File)
Feb 24 2026, 9:16 PM
Unknown Object (File)
Feb 24 2026, 1:14 PM
Unknown Object (File)
Feb 24 2026, 11:22 AM
Subscribers

Details

Summary

Set the advertised receiver window to zero when sending a TCP segment having the RST-bit set via the tcp_output() routine. This makes the behaviour consistent with sending RST segments via tcp_respond().

Test Plan

Run the tests from TCP test suite.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This looks fine Michael :)

This revision is now accepted and ready to land.Nov 20 2018, 12:53 PM
This revision was automatically updated to reflect the committed changes.