Re: [PATCH net-next v5] mpls: support for dead routes

2015-11-30 Thread Robert Shearman
On 28/11/15 06:15, roopa wrote: On 11/25/15, 8:18 AM, David Miller wrote: From: Roopa Prabhu Date: Tue, 24 Nov 2015 15:22:22 -0800 v4 -v5 - if kmemdup fails, modify the original route in place. This is a corner case and only side effect is that in the remote case of km

Re: [PATCH net-next v5] mpls: support for dead routes

2015-11-27 Thread roopa
On 11/25/15, 8:18 AM, David Miller wrote: > From: Roopa Prabhu > Date: Tue, 24 Nov 2015 15:22:22 -0800 > >> v4 -v5 >> - if kmemdup fails, modify the original route in place. This is a >> corner case and only side effect is that in the remote case >> of kmemdup failure, the changes w

Re: [PATCH net-next v5] mpls: support for dead routes

2015-11-25 Thread David Miller
From: Roopa Prabhu Date: Tue, 24 Nov 2015 15:22:22 -0800 > v4 -v5 > - if kmemdup fails, modify the original route in place. This is a > corner case and only side effect is that in the remote case > of kmemdup failure, the changes will not be atomically visible > to datapat

Re: [PATCH net-next v5] mpls: support for dead routes

2015-11-25 Thread Robert Shearman
On 24/11/15 23:22, Roopa Prabhu wrote: From: Roopa Prabhu Adds support for RTNH_F_DEAD and RTNH_F_LINKDOWN flags on mpls routes due to link events. Also adds code to ignore dead routes during route selection. Unlike ip routes, mpls routes are not deleted when the route goes dead. This is curre

[PATCH net-next v5] mpls: support for dead routes

2015-11-24 Thread Roopa Prabhu
From: Roopa Prabhu Adds support for RTNH_F_DEAD and RTNH_F_LINKDOWN flags on mpls routes due to link events. Also adds code to ignore dead routes during route selection. Unlike ip routes, mpls routes are not deleted when the route goes dead. This is current mpls behaviour and this patch does not