diff options
author | Ghanan Gowripalan <ghanan@google.com> | 2020-08-13 18:27:34 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-08-13 18:29:47 -0700 |
commit | d3bb50ebf85c1241ec91745eaca9fbbb86eb4211 (patch) | |
tree | b1dd65a0acd41fb08d1ad0b9a39916648fab8300 /test/syscalls/linux/socket_generic.cc | |
parent | 20be1c0e6365925fc11824eed2b163c79341f66e (diff) |
Use the user supplied MSS for accepted connections
This change supports using the user supplied MSS (TCP_MAXSEG socket
option) for new socket connections created from a listening TCP socket.
Note that the user supplied MSS will only be used if it is not greater
than the maximum possible MSS for a TCP connection's route. If it is
greater than the maximum possible MSS, the MSS will be capped at that
maximum value.
Test: tcp_test.TestUserSuppliedMSSOnListenAccept
PiperOrigin-RevId: 326567442
Diffstat (limited to 'test/syscalls/linux/socket_generic.cc')
0 files changed, 0 insertions, 0 deletions