Re: [PATCH] IPv4: Tunnel: Fix effective path mtu calculation

2020-06-24 Thread Eric Dumazet
On 6/24/20 4:48 AM, Oliver Herms wrote: > The calculation of the effective tunnel mtu, that is used to create > mtu exceptions if necessary, is currently not done correctly. This > leads to unnecessary entries in the IPv6 route cache for any packet > to be sent through the tunnel. > > The root

[PATCH] IPv4: Tunnel: Fix effective path mtu calculation

2020-06-24 Thread Oliver Herms
The calculation of the effective tunnel mtu, that is used to create mtu exceptions if necessary, is currently not done correctly. This leads to unnecessary entries in the IPv6 route cache for any packet to be sent through the tunnel. The root cause is, that "dev->hard_header_len" is subtracted fro