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
Lint
Lint Skipped
Unit
Unit Tests Skipped
Build Status
Buildable 20755

Event Timeline

tuexen created this revision.Nov 11 2018, 7:45 PM
Herald added a subscriber: imp. · View Herald Transcript
rrs accepted this revision.Nov 20 2018, 12:53 PM

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.