Files
linux/net/ipv4
wenxu 696c05fed2 ip_tunnel: fix over-mtu packet send fail without TUNNEL_DONT_FRAGMENT flags
[ Upstream commit 20149e9eb6 ]

The tunnel device such as vxlan, bareudp and geneve in the lwt mode set
the outer df only based TUNNEL_DONT_FRAGMENT.
And this was also the behavior for gre device before switching to use
ip_md_tunnel_xmit in commit 962924fa2b ("ip_gre: Refactor collect
metatdata mode tunnel xmit to ip_md_tunnel_xmit")

When the ip_gre in lwt mode xmit with ip_md_tunnel_xmi changed the rule and
make the discrepancy between handling of DF by different tunnels. So in the
ip_md_tunnel_xmit should follow the same rule like other tunnels.

Fixes: cfc7381b30 ("ip_tunnel: add collect_md mode to IPIP tunnel")
Signed-off-by: wenxu <wenxu@ucloud.cn>
Link: https://lore.kernel.org/r/1604028728-31100-1-git-send-email-wenxu@ucloud.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-10 12:38:57 +01:00
..
2020-03-12 15:55:00 -07:00
2020-03-12 15:55:00 -07:00
2020-07-13 17:20:39 -07:00
2020-10-29 10:10:54 +01:00
2020-03-30 13:45:04 -07:00
2020-07-24 17:12:41 -07:00
2020-08-08 08:17:22 +02:00
2020-07-27 11:39:55 -07:00
2020-08-27 07:55:59 -07:00
2020-03-16 18:26:54 -07:00
2020-07-13 17:20:39 -07:00
2020-03-16 18:26:55 -07:00