Re: [RFC PATCH net-next 16/19] ipv6: Flush multipath routes when all siblings are dead

2018-01-02 Thread Ido Schimmel
On Tue, Jan 02, 2018 at 10:38:19AM -0700, David Ahern wrote: > On 12/31/17 9:15 AM, Ido Schimmel wrote: > > @@ -3550,13 +3581,21 @@ static int fib6_ifdown(struct rt6_info *rt, void > > *p_arg) > > } > > return -2; > > case NETDEV_DOWN: > > - if (rt->dst.dev

Re: [RFC PATCH net-next 16/19] ipv6: Flush multipath routes when all siblings are dead

2018-01-02 Thread David Ahern
On 12/31/17 9:15 AM, Ido Schimmel wrote: > By default, IPv6 deletes nexthops from a multipath route when the > nexthop device is put administratively down. This differs from IPv4 > where the nexthops are kept, but marked with the RTNH_F_DEAD flag. A > multipath route is flushed when all of its

[RFC PATCH net-next 16/19] ipv6: Flush multipath routes when all siblings are dead

2017-12-31 Thread Ido Schimmel
By default, IPv6 deletes nexthops from a multipath route when the nexthop device is put administratively down. This differs from IPv4 where the nexthops are kept, but marked with the RTNH_F_DEAD flag. A multipath route is flushed when all of its nexthops become dead. Align IPv6 with IPv4 and have