From: Guillaume Boutry <[email protected]>

A failed neighbor dump can withdraw learned EVPN state. Keep the
last complete observations until a dump succeeds, and discard them
on link replacement or rename.

The series also fixes stale interface mappings after a rename and
prevents failed neighbor writes from causing a busy loop.

Tested with make check and 36 selected kernel tests, including EVPN
packet tests.

OVS can still report success for errors carried only in NLMSG_DONE.
Handling those errors requires an OVS fix.

Guillaume Boutry (3):
  host-if-monitor: Drop stale mapping on rename.
  neighbor-exchange: Rate-limit error retries.
  neighbor-exchange: Keep state after failed dumps.

 controller/host-if-monitor-stub.c      |   6 +-
 controller/host-if-monitor.c           |  83 ++--
 controller/host-if-monitor.h           |   9 +-
 controller/neighbor-exchange-netlink.c | 114 +++--
 controller/neighbor-exchange-netlink.h |   2 +-
 controller/neighbor-exchange-stub.c    |  11 +-
 controller/neighbor-exchange.c         | 139 ++++--
 controller/neighbor-exchange.h         |   5 +-
 controller/ovn-controller.c            |  12 +-
 tests/automake.mk                      |   9 +
 tests/system-ovn-netlink.at            |  90 ++++
 tests/test-ovn-netlink.c               | 603 ++++++++++++++++++++++++-
 12 files changed, 968 insertions(+), 115 deletions(-)


base-commit: d5981d9dc5a22024269c80f40aa883333e73eb0a
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to