[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250611141551.462569-1-idosch@nvidia.com>
Date: Wed, 11 Jun 2025 17:15:49 +0300
From: Ido Schimmel <idosch@...dia.com>
To: <netdev@...r.kernel.org>
CC: <davem@...emloft.net>, <kuba@...nel.org>, <pabeni@...hat.com>,
<edumazet@...gle.com>, <horms@...nel.org>, <donald.hunter@...il.com>,
<petrm@...dia.com>, <razor@...ckwall.org>, <daniel@...earbox.net>, "Ido
Schimmel" <idosch@...dia.com>
Subject: [PATCH net-next 0/2] Add support for externally validated neighbor entries
Patch #1 adds a new neighbor flag ("extern_valid") that prevents the
kernel from invalidating or removing a neighbor entry, while allowing
the kernel to notify user space when the entry becomes reachable. See
motivation and implementation details in the commit message.
Patch #2 adds a selftest.
Ido Schimmel (2):
neighbor: Add NTF_EXT_VALIDATED flag for externally validated entries
selftests: net: Add a selftest for externally validated neighbor
entries
Documentation/netlink/specs/rt-neigh.yaml | 1 +
include/net/neighbour.h | 4 +-
include/uapi/linux/neighbour.h | 5 +
net/core/neighbour.c | 75 ++++-
tools/testing/selftests/net/Makefile | 1 +
tools/testing/selftests/net/test_neigh.sh | 337 ++++++++++++++++++++++
6 files changed, 413 insertions(+), 10 deletions(-)
create mode 100755 tools/testing/selftests/net/test_neigh.sh
--
2.49.0
Powered by blists - more mailing lists