[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250614171313.GB861417@horms.kernel.org>
Date: Sat, 14 Jun 2025 18:13:13 +0100
From: Simon Horman <horms@...nel.org>
To: Ido Schimmel <idosch@...dia.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, kuba@...nel.org,
pabeni@...hat.com, edumazet@...gle.com, donald.hunter@...il.com,
petrm@...dia.com, razor@...ckwall.org, daniel@...earbox.net
Subject: Re: [PATCH net-next 1/2] neighbor: Add NTF_EXT_VALIDATED flag for
externally validated entries
On Wed, Jun 11, 2025 at 05:15:50PM +0300, Ido Schimmel wrote:
...
> diff --git a/include/uapi/linux/neighbour.h b/include/uapi/linux/neighbour.h
> index b851c36ad25d..27bedfcce537 100644
> --- a/include/uapi/linux/neighbour.h
> +++ b/include/uapi/linux/neighbour.h
> @@ -54,6 +54,7 @@ enum {
> /* Extended flags under NDA_FLAGS_EXT: */
> #define NTF_EXT_MANAGED (1 << 0)
> #define NTF_EXT_LOCKED (1 << 1)
> +#define NTF_EXT_EXT_VALIDATED (1 << 2)
>
> /*
> * Neighbor Cache Entry States.
> @@ -92,6 +93,10 @@ enum {
> * bridge in response to a host trying to communicate via a locked bridge port
> * with MAB enabled. Their purpose is to notify user space that a host requires
> * authentication.
> + *
> + * NTF_EXT_EXT_VALIDATED flagged neigbor entries were externally validated by a
nit: neighbor or neighbour
> + * user space control plane. The kernel will not remove or invalidate them, but
> + * it can probe them and notify user space when they become reachable.
> */
>
> struct nda_cacheinfo {
...
Powered by blists - more mailing lists