[patch net-next 14/15] mlxsw: spectrum_router: Don't reflect LINKDOWN nexthops

2017-02-08 Thread Jiri Pirko
From: Ido Schimmel 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 nex

[patch net-next 14/15] mlxsw: spectrum_router: Don't reflect LINKDOWN nexthops

2017-02-08 Thread Jiri Pirko
From: Ido Schimmel 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 nex