]> 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)
commit920cf693d03f4ea53735daef6a83fca1e309d4c6
treed73055bf42e3d95740b3af5e8abcee63ae0b7941
parentb3033f383f20dc69bdb4f7e28e6f8b372b7054dd
ip6erspan: remove the incorrect mtu limit for ip6erspan

ip6erspan driver calls ether_setup(), after commit a1be8869ab65
("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: a1be8869ab65 ("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