summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/sessions.go
diff options
context:
space:
mode:
authorMithun Iyer <iyerm@google.com>2020-06-04 14:22:46 -0700
committerNicolas Lacasse <nlacasse@google.com>2020-06-05 11:28:24 -0700
commitf7663660917a5b2e250513d7c8cc98ff379ca46f (patch)
treec3b2219a4d98ae1f6c84b582bc2b29a0f8e7f32b /pkg/sentry/kernel/sessions.go
parentd61e88e342d74d306a654b85d5ed791078f96f0a (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/sentry/kernel/sessions.go')
0 files changed, 0 insertions, 0 deletions