diff options
author | Petr Machata <[email protected]> | 2017-11-28 13:17:13 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-11-28 09:55:47 -0500 |
commit | d97cda5f465bacc82659263a885703d73759ea04 (patch) | |
tree | 49a4f04a8da3d07b1592e70b048f44078b0108d1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cab43d9c877456d2d8feb77335327316d3de9871 (diff) |
mlxsw: spectrum_router: Handle encap to demoted tunnels
Some tunnels that are offloadable on their own can nonetheless be
demoted to slow path if their local address is in conflict with that of
another tunnel. When a route is formed for such a tunnel,
mlxsw_sp_nexthop_ipip_init() fails to find the corresponding IPIP entry,
and that triggers a FIB abort.
Resolve the problem by not assuming that a tunnel for which
mlxsw_sp_ipip_ops.can_offload() holds also automatically has an IPIP
entry.
Fixes: af641713e97d ("mlxsw: spectrum_router: Onload conflicting tunnels")
Signed-off-by: Petr Machata <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions