]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit23e2465d6b5ae8fb80ceed0e3ee2ce93e8109258
tree9a99f5aff54c9be0d4fee49c47dddfb4e67763b9
parent74b4928d3f11cc30df05e1d6553b3a45bbee87c8
mlxsw: spectrum_router: Handle MTU change of GRE netdevs

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

Fixes: 9467dc34250c ("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