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.

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
Automatic diff as part of commit; lint not applicable.
Unit
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.