Re: [PATCH net-next 2/3] net: ipv4: flush neighbor entries when carrier is off

2017-11-06 Thread David Ahern
On 11/6/17 11:49 PM, David Ahern wrote: >>> diff --git a/net/ipv4/fib_frontend.c b/net/ipv4/fib_frontend.c >>> index f02819134ba2..aa8fea74858f 100644 >>> --- a/net/ipv4/fib_frontend.c >>> +++ b/net/ipv4/fib_frontend.c >>> @@ -1226,10 +1226,13 @@ static int fib_netdev_event(struct notifier_block >

Re: [PATCH net-next 2/3] net: ipv4: flush neighbor entries when carrier is off

2017-11-06 Thread David Ahern
On 11/6/17 7:47 PM, Ido Schimmel wrote: > Hi David, > > On Sun, Nov 05, 2017 at 10:57:52PM -0800, David Ahern wrote: >> Commit a6db4494d218c ("net: ipv4: Consider failed nexthops in multipath >> routes") added support for checking neighbor state when selecting a path >> for multipath route lookups

Re: [PATCH net-next 2/3] net: ipv4: flush neighbor entries when carrier is off

2017-11-06 Thread Ido Schimmel
Hi David, On Sun, Nov 05, 2017 at 10:57:52PM -0800, David Ahern wrote: > Commit a6db4494d218c ("net: ipv4: Consider failed nexthops in multipath > routes") added support for checking neighbor state when selecting a path > for multipath route lookups. It works but incurs a delay waiting for > the n

[PATCH net-next 2/3] net: ipv4: flush neighbor entries when carrier is off

2017-11-05 Thread David Ahern
Commit a6db4494d218c ("net: ipv4: Consider failed nexthops in multipath routes") added support for checking neighbor state when selecting a path for multipath route lookups. It works but incurs a delay waiting for the neighbor entry to timeout. Improve the path selection by flushing non-permanent n