Page MenuHomeFreeBSD

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

Authored by tuexen on Nov 11 2018, 7:45 PM.



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

rS FreeBSD src repository - subversion
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; 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.