]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit23d767c316d56e989f91a19865c7f97bc755cefe
treed7002ce7bf34de3ee2372a09e271c42f4df8a033
parent05a708e7fb8da936319398d96f2a187d7f55d908
parentfd2a5979164c87c3a84dd1ef8bf8003638db29b0
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>