mlxsw: spectrum_router: Handle MTU change of GRE netdevs
authorPetr Machata <petrm@mellanox.com>
Thu, 22 Mar 2018 17:53:35 +0000 (19:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Mar 2018 16:54:34 +0000 (12:54 -0400)
commit68c3cd925597842c4744fd93d61f8cd2496cdfc8
tree9a99f5aff54c9be0d4fee49c47dddfb4e67763b9
parent22b99058dd79ecff9de64eb30e15a330d89862c6
mlxsw: spectrum_router: Handle MTU change of GRE netdevs

Update MTU of overlay loopback in accordance with the setting on the
tunnel netdevice.

Fixes: 0063587d3587 ("mlxsw: spectrum: Support decap-only IP-in-IP tunnels")
Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c