diff options
author | Eric Dumazet <edumazet@google.com> | 2017-10-18 17:02:03 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-20 10:10:34 +0100 |
commit | fdfcb06c5944afb78007cfc25e527ff689b2a344 (patch) | |
tree | 53af1e3dc0c155a61272cb96e255da27297e14fb /net/compat.c | |
parent | 48185ffb6dc3eb64846039117d76148d3e3d7022 (diff) | |
download | linux-rpi3-fdfcb06c5944afb78007cfc25e527ff689b2a344.tar.gz linux-rpi3-fdfcb06c5944afb78007cfc25e527ff689b2a344.tar.bz2 linux-rpi3-fdfcb06c5944afb78007cfc25e527ff689b2a344.zip |
ipv4: ipv4_default_advmss() should use route mtu
[ Upstream commit 164a5e7ad531e181334a3d3f03d0d5ad20d6faea ]
ipv4_default_advmss() incorrectly uses the device MTU instead
of the route provided one. IPv6 has the proper behavior,
lets harmonize the two protocols.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions