]> git.baikalelectronics.ru Git - kernel.git/commit
ip6erspan: remove the incorrect mtu limit for ip6erspan
authorHaishuang Yan <yanhaishuang@cmss.chinamobile.com>
Tue, 8 Oct 2019 09:56:03 +0000 (17:56 +0800)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Wed, 9 Oct 2019 02:46:42 +0000 (19:46 -0700)
commit2a088151c76525b39474e98f76d86bfd8a0a393b
treed73055bf42e3d95740b3af5e8abcee63ae0b7941
parentc447e7cd93bc4093746e56216cdf8ca514e1a3c3
ip6erspan: remove the incorrect mtu limit for ip6erspan

ip6erspan driver calls ether_setup(), after commit 1b94aa8f4293
("net: centralize net_device min/max MTU checking"), the range
of mtu is [min_mtu, max_mtu], which is [68, 1500] by default.

It causes the dev mtu of the erspan device to not be greater
than 1500, this limit value is not correct for ip6erspan tap
device.

Fixes: 1b94aa8f4293 ("net: centralize net_device min/max MTU checking")
Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com>
Acked-by: William Tu <u9012063@gmail.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
net/ipv6/ip6_gre.c