Re: [PATCH net-next 1/2] net: mpls: Don't show nexthop if device has been deleted

2017-03-26 Thread Roopa Prabhu
On 3/24/17, 3:21 PM, David Ahern wrote: > If the device for a nexthop in a multipath route is deleted, the nexthop > is effectively removed from the route. Currently, a route dump still > returns the nexhop though without the device set: > > $ ip -f mpls ro ls > 100 > nexthopvia inet 10.11.1.

[PATCH net-next 1/2] net: mpls: Don't show nexthop if device has been deleted

2017-03-24 Thread David Ahern
If the device for a nexthop in a multipath route is deleted, the nexthop is effectively removed from the route. Currently, a route dump still returns the nexhop though without the device set: $ ip -f mpls ro ls 100 nexthopvia inet 10.11.1.2 dev br0 nexthopvia inet 10.100.3.1 dev