Re: [PATCH net-next 0/2] net: mpls: multipath route cleanups

2017-03-27 Thread David Miller
From: David Ahern 
Date: Fri, 24 Mar 2017 15:21:55 -0700

> 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. 

Series applied, but I agree with Roopa that you need to add that nexthop
NULL device check to lfib_nlmsg_size() too.


Re: [PATCH net-next 0/2] net: mpls: multipath route cleanups

2017-03-27 Thread Robert Shearman

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 


[PATCH net-next 0/2] net: mpls: multipath route cleanups

2017-03-24 Thread David Ahern
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(-)

-- 
2.1.4