]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_router: Configure TIGCR on init
authorPetr Machata <petrm@mellanox.com>
Fri, 20 Oct 2017 07:16:16 +0000 (09:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Oct 2017 01:19:03 +0000 (02:19 +0100)
commitcf19be61bb507936f3336d34e2c327c95f2df852
tree56c6335b03d29ccb45313b65d29e63329d44898e
parenta037eadd200e853b01f72a436bb42dc7333c9399
mlxsw: spectrum_router: Configure TIGCR on init

Spectrum tunnels do not default to ttl of "inherit" like the Linux ones
do. Configure TIGCR on router init so that the TTL of tunnel packets is
copied from the overlay packets.

Fixes: 717d78266d3c ("mlxsw: spectrum_router: Support GRE tunnels")
Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c