On 24/03/17 22:21, David Ahern wrote:
When a device associated with a nexthop is deleted, the nexthop in
the route is effectively removed, so remove it from the route dump.
Further, when all nexhops have been deleted the route is effectively
done, so remove the route.
David Ahern (2):
mpls: Don't show nexthop if device has been deleted
mpls: Delete route when all nexthops have been deleted
net/mpls/af_mpls.c | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
Acked-by: Robert Shearman <rshea...@brocade.com>