]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: be more aggressive when probing alternative gateways
authorJulian Anastasov <ja@ssi.bg>
Thu, 23 Jul 2015 07:39:35 +0000 (10:39 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2015 03:56:27 +0000 (20:56 -0700)
commit3d1c7582130e861c0a423c1fb65f75a7f973f372
tree7c07eec1dcbf5d2b09d53bf1b267edef40b2a9cb
parentc9daf37b61d47fcd364ccb25d070310b175f8e32
ipv4: be more aggressive when probing alternative gateways

Currently, we do not notice if new alternative gateways
are added. We can do it by checking for present neigh
entry. Also, gateways that are currently probed (NUD_INCOMPLETE)
can be skipped from round-robin probing.

Suggested-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_semantics.c