diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2021-09-29 16:46:58 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2021-09-29 16:46:58 +0200 |
commit | 2408ddffa32a34ff1555946629ae81b9f33fe59e (patch) | |
tree | 3930101f4cc790753d0d30d77a62accfefa06fb2 /util.c | |
parent | 4e5129719d77ad6950989fc8b5c2a36ae4c2ec2f (diff) | |
download | passt-2408ddffa32a34ff1555946629ae81b9f33fe59e.tar passt-2408ddffa32a34ff1555946629ae81b9f33fe59e.tar.gz passt-2408ddffa32a34ff1555946629ae81b9f33fe59e.tar.bz2 passt-2408ddffa32a34ff1555946629ae81b9f33fe59e.tar.lz passt-2408ddffa32a34ff1555946629ae81b9f33fe59e.tar.xz passt-2408ddffa32a34ff1555946629ae81b9f33fe59e.tar.zst passt-2408ddffa32a34ff1555946629ae81b9f33fe59e.zip |
tcp: Derive MSS announced to guest/namespace from configured MTU if present
...and from the sending socket only if the MTU is not configured.
Otherwise, a connection to a host from a local guest, with a
non-loopback destination address, will get its MSS from the MTU of the
outbound interface with that address, which is unnecessary as we know
the guest can send us larger segments.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions