]> 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)
commite5b94eb73100987d2ba27ad58c61ccba5a79e028
treed7002ce7bf34de3ee2372a09e271c42f4df8a033
parent65e798a8023bc32b86cf5fa307665b4ceb21afb9
parentf54c48e9ed30a378e97ef1d52ba5af09748b6ce3
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>