Thread (1 message) 1 message, 1 author, 2021-01-29

Re: [net v3] net: ip_tunnel: fix mtu calculation

From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-01-29 22:06:32

On Fri, 29 Jan 2021 10:29:29 -0500 Willem de Bruijn wrote:
On Fri, Jan 29, 2021 at 9:45 AM Vadim Fedorenko [off-list ref] wrote:
quoted
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 <redacted>
Signed-off-by: Vadim Fedorenko <redacted>  
Acked-by: Willem de Bruijn <willemb@google.com>
Thanks!

I think vger ate this one, Vadim, could you repost?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help