diff options
author | Petr Machata <petrm@mellanox.com> | 2017-11-28 13:17:11 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-28 09:55:47 -0500 |
commit | 57c77ce47063bd298e31ffcf7875ed0c2633bf8d (patch) | |
tree | 35848d49f8576dc3d5d368de31e1baf247b37ff6 /scripts/gdb/linux/utils.py | |
parent | 32f0160c0373ab6381594462b2533104e21626d4 (diff) |
mlxsw: spectrum_router: Offload decap only for up tunnels
When a new local route is added, an IPIP entry is looked up to determine
whether the route should be offloaded as a tunnel decap or as a trap.
That decision should take into account whether the tunnel netdevice in
question is actually IFF_UP, and only install a decap offload if it is.
Fixes: 0063587d3587 ("mlxsw: spectrum: Support decap-only IP-in-IP 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>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions