summaryrefslogtreecommitdiff
path: root/net/dsa/switch.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2017-02-08 14:36:49 +0100
committerDavid S. Miller <davem@davemloft.net>2017-02-08 15:43:59 -0500
commitdf6dd79be8d85ee098433bca23678fab508db541 (patch)
treebd7e7ffa683861b9d143a2bda8d20427c62aac23 /net/dsa/switch.c
parentd9e1661dab02e62a2ce971cfc2b957ee52f7cdf3 (diff)
mlxsw: spectrum_router: Don't reflect LINKDOWN nexthops
The kernel resolves the nexthops for a given route using FIB_LOOKUP_IGNORE_LINKSTATE which means a notification can be sent for a route with one of its nexthops being LINKDOWN. In case IGNORE_ROUTES_WITH_LINKDOWN is set for the nexthop netdev, then we shouldn't reflect the nexthop to the device's table. Once the nexthop netdev's carrier goes up we'll be notified using NH_ADD and reflect it to the device. Signed-off-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 'net/dsa/switch.c')
0 files changed, 0 insertions, 0 deletions