vti4: Don't override MTU passed on link creation via IFLA_MTU
authorStefano Brivio <sbrivio@redhat.com>
Thu, 15 Mar 2018 16:16:29 +0000 (17:16 +0100)
committerSteffen Klassert <steffen.klassert@secunet.com>
Mon, 19 Mar 2018 07:45:50 +0000 (08:45 +0100)
commit03080e5ec72740c1a62e6730f2a5f3f114f11b19
treec49fa8d533f8378e7900b7d6c5dc0f8e110fedea
parent24fc79798b8ddfd46f2dd363a8d29072c083b977
vti4: Don't override MTU passed on link creation via IFLA_MTU

Don't hardcode a MTU value on vti tunnel initialization,
ip_tunnel_newlink() is able to deal with this already. See also
commit ffc2b6ee4174 ("ip_gre: fix IFLA_MTU ignored on NEWLINK").

Fixes: 1181412c1a67 ("net/ipv4: VTI support new module for ip_vti.")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Acked-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/ipv4/ip_vti.c