Merge branch 'tunnel-mtu-fixes'
authorDavid S. Miller <davem@davemloft.net>
Tue, 27 Feb 2018 19:36:28 +0000 (14:36 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Feb 2018 19:36:28 +0000 (14:36 -0500)
commitff2926d851076a765a8a322d5b3d1d9c9ef673d0
treed7002ce7bf34de3ee2372a09e271c42f4df8a033
parent9c2c2e62df3fa30fb13fbeb7512a4eede729383b
parent2b3957c34b6d7f03544b12ebbf875eee430745db
Merge branch 'tunnel-mtu-fixes'

Xin Long says:

====================
net: fix IFLA_MTU ignored on NEWLINK for some ip and ipv6 tunnels

The fix for ip_gre follows the way other ip tunnels do: not to
set mtu in ndo_init, as ip_tunnel_newlink will take care of it
properly.

The fix for ip6_tunnel and sit follows the way ipv6 tunenls do:
to set mtu again according to IFLA_MTU after, as all bind_dev
are called in ndo_init where it can't get the tb[IFLA_MTU].
====================

Signed-off-by: David S. Miller <davem@davemloft.net>