Re: [PATCH net v4] ipv6: fix multipath route replace error recovery

2015-09-09 Thread roopa
On 9/9/15, 2:10 PM, David Miller wrote: From: Roopa Prabhu Date: Tue, 8 Sep 2015 10:53:04 -0700 This patch reduces the possibility of this by doing the following: a) Changes the existing multipath route add code to a two stage process: build rt6_infos + insert them ip6_route_add rt

Re: [PATCH net v4] ipv6: fix multipath route replace error recovery

2015-09-09 Thread David Miller
From: Roopa Prabhu Date: Tue, 8 Sep 2015 10:53:04 -0700 > This patch reduces the possibility of this by doing the following: > a) Changes the existing multipath route add code to a two stage process: > build rt6_infos + insert them > ip6_route_add rt6_info creation code is moved into >

Re: [PATCH net v4] ipv6: fix multipath route replace error recovery

2015-09-09 Thread Nicolas Dichtel
Le 08/09/2015 19:53, Roopa Prabhu a écrit : From: Roopa Prabhu Problem: The ecmp route replace support for ipv6 in the kernel, deletes the existing ecmp route too early, ie when it installs the first nexthop. If there is an error in installing the subsequent nexthops, its too late to recover th

Re: [PATCH net v4] ipv6: fix multipath route replace error recovery

2015-09-08 Thread Nikolay Aleksandrov
On 09/08/2015 07:53 PM, Roopa Prabhu wrote: > From: Roopa Prabhu > > Problem: > The ecmp route replace support for ipv6 in the kernel, deletes the > existing ecmp route too early, ie when it installs the first nexthop. > If there is an error in installing the subsequent nexthops, its too late > t

[PATCH net v4] ipv6: fix multipath route replace error recovery

2015-09-08 Thread Roopa Prabhu
From: Roopa Prabhu Problem: The ecmp route replace support for ipv6 in the kernel, deletes the existing ecmp route too early, ie when it installs the first nexthop. If there is an error in installing the subsequent nexthops, its too late to recover the already deleted existing route leaving the f