summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_vegas.c
diff options
context:
space:
mode:
authorVadim Fedorenko <vfedorenko@novek.ru>2021-01-30 01:27:47 +0300
committerJakub Kicinski <kuba@kernel.org>2021-02-02 06:58:23 +0300
commit28e104d00281ade30250b24e098bf50887671ea4 (patch)
tree6cae5c0b2a5f65e65718ecddc5f173d19c890195 /net/ipv4/tcp_vegas.c
parentc518adafa39f37858697ac9309c6cf1805581446 (diff)
downloadlinux-28e104d00281ade30250b24e098bf50887671ea4.tar.xz
net: ip_tunnel: fix mtu calculation
dev->hard_header_len for tunnel interface is set only when header_ops are set too and already contains full overhead of any tunnel encapsulation. That's why there is not need to use this overhead twice in mtu calc. Fixes: fdafed459998 ("ip_gre: set dev->hard_header_len and dev->needed_headroom properly") Reported-by: Slava Bacherikov <mail@slava.cc> Signed-off-by: Vadim Fedorenko <vfedorenko@novek.ru> Link: https://lore.kernel.org/r/1611959267-20536-1-git-send-email-vfedorenko@novek.ru Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/tcp_vegas.c')
0 files changed, 0 insertions, 0 deletions