diff options
author | Mithun Iyer <iyerm@google.com> | 2020-06-04 14:22:46 -0700 |
---|---|---|
committer | Nicolas Lacasse <nlacasse@google.com> | 2020-06-05 11:28:24 -0700 |
commit | f7663660917a5b2e250513d7c8cc98ff379ca46f (patch) | |
tree | c3b2219a4d98ae1f6c84b582bc2b29a0f8e7f32b /pkg/tcpip/link/sniffer | |
parent | d61e88e342d74d306a654b85d5ed791078f96f0a (diff) |
Handle TCP segment split cases as per MSS.
- Always split segments larger than MSS.
Currently, we base the segment split decision as a function of the
send congestion window and MSS, which could be greater than the MSS
advertised by remote.
- While splitting segments, ensure the PSH flag is reset when there
are segments that are queued to be sent.
- With TCP_CORK, hold up segments up until MSS. Fix a bug in computing
available send space before attempting to coalesce segments.
Fixes #2832
PiperOrigin-RevId: 314802928
Diffstat (limited to 'pkg/tcpip/link/sniffer')
0 files changed, 0 insertions, 0 deletions