Re: [PATCH net] ip_tunnel: don't force DF when MTU is locked

2018-11-17 Thread David Miller
From: Sabrina Dubroca Date: Fri, 16 Nov 2018 16:58:19 +0100 > The various types of tunnels running over IPv4 can ask to set the DF > bit to do PMTU discovery. However, PMTU discovery is subject to the > threshold set by the net.ipv4.route.min_pmtu sysctl, and is also > disabled on routes with "mt

[PATCH net] ip_tunnel: don't force DF when MTU is locked

2018-11-16 Thread Sabrina Dubroca
The various types of tunnels running over IPv4 can ask to set the DF bit to do PMTU discovery. However, PMTU discovery is subject to the threshold set by the net.ipv4.route.min_pmtu sysctl, and is also disabled on routes with "mtu lock". In those cases, we shouldn't set the DF bit. This patch make