Skip to content

net: flush neighbor entries when carrier is off

David Ahern netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: neigh: Add helper to flush entries on carrier downinclude/net/neighbour.h net/core/neighbour.c+23 -40 replies
2/3net: ipv4: flush neighbor entries when carrier is offnet/ipv4/fib_frontend.c+5 -23 replies
3/3net: ipv6: flush neighbor entries when carrier is offnet/ipv6/addrconf.c+3 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/3] net: flush neighbor entries when carrier is off

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 neighbor entries when carrier is off.

David Ahern (3):
net: neigh: Add helper to flush entries on carrier down
net: ipv4: flush neighbor entries when carrier is off
net: ipv6: flush neighbor entries when carrier is off

 include/net/neighbour.h |  1 +
 net/core/neighbour.c    | 26 ++++++++++++++++++++++----
 net/ipv4/fib_frontend.c |  7 +++++--
 net/ipv6/addrconf.c     |  3 +++
 4 files changed, 31 insertions(+), 6 deletions(-)
Signature · 1 line
2.1.4