diff options
author | Petr Machata <petrm@mellanox.com> | 2017-09-02 23:49:26 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-03 20:23:26 -0700 |
commit | 1cc38fb144ded22b81ef7b53b77d52885f25ecea (patch) | |
tree | 7ee4f1b1824c1e9e646f476dbd35bd76eca5cce4 /drivers/rtc/rtc-stk17ta8.c | |
parent | 4607f6d26950ffb3c4c8e5b2db42f364f19dd26c (diff) | |
download | blackbird-obmc-linux-1cc38fb144ded22b81ef7b53b77d52885f25ecea.tar.gz blackbird-obmc-linux-1cc38fb144ded22b81ef7b53b77d52885f25ecea.zip |
mlxsw: spectrum_router: Use existing decap route
The local route that points at IPIP's underlay device (decap route) can
be present long before the GRE device. Thus when an encap route is
added, it's necessary to look inside the underlay FIB if the decap route
is already present. If so, the current trap offload needs to be
withdrawn and replaced with a decap offload.
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 'drivers/rtc/rtc-stk17ta8.c')
0 files changed, 0 insertions, 0 deletions