]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tcp: enforce tcp_min_snd_mss in tcp_mtu_probing()
authorEric Dumazet <edumazet@google.com>
Sat, 8 Jun 2019 17:38:08 +0000 (10:38 -0700)
committerBrian Maly <brian.maly@oracle.com>
Tue, 11 Jun 2019 01:26:43 +0000 (21:26 -0400)
commit56b70ccafe0c224a37aa0e0baf55596c65c66f9a
treee547a1ae7734f65a560f1eadddd0998b47063159
parent4a6fe7d0af4f150dccc9f8c84a93ef023f9575b5
tcp: enforce tcp_min_snd_mss in tcp_mtu_probing()

If mtu probing is enabled tcp_mtu_probing() could very well end up
with a too small MSS.

Use the new sysctl tcp_min_snd_mss to make sure MSS search
is performed in an acceptable range.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Cc: Jonathan Looney <jtl@netflix.com>
Cc: Neal Cardwell <ncardwell@google.com>
Cc: Yuchung Cheng <ycheng@google.com>
Cc: Tyler Hicks <tyhicks@canonical.com>
Cc: Bruce Curtis <brucec@netflix.com>
Orabug: 29886598
Reviewed-by: John Haxby <john.haxby@oracle.com>
Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
net/ipv4/tcp_timer.c