Stefano Brivio b57f0fe6e3 vti6: Fix dev->max_mtu setting
[ Upstream commit f8a554b4aa9686bb2c12f6bae516e58783289a03 ]

We shouldn't allow a tunnel to have IP_MAX_MTU as MTU, because
another IPv6 header is going on top of our packets. Without this
patch, we might end up building packets bigger than IP_MAX_MTU.

Fixes: b96f9afee4eb ("ipv4/6: use core net MTU range checking")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Acked-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-30 07:52:16 +02:00
..
2018-05-16 10:10:29 +02:00
2018-05-19 10:20:23 +02:00
2018-05-30 07:52:16 +02:00
2018-05-19 10:20:23 +02:00
2018-05-30 07:51:57 +02:00
2018-05-19 10:20:26 +02:00
2018-05-30 07:52:05 +02:00
2018-05-30 07:51:57 +02:00
2018-02-22 15:42:23 +01:00