[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <424a52f9-df2f-4205-ab9d-cd943b8a7398@6wind.com>
Date: Fri, 12 Apr 2024 15:54:51 +0200
From: Nicolas Dichtel <nicolas.dichtel@...nd.com>
To: antony.antony@...unet.com, Steffen Klassert
<steffen.klassert@...unet.com>, Herbert Xu <herbert@...dor.apana.org.au>,
netdev@...r.kernel.org
Cc: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, devel@...ux-ipsec.org,
Leon Romanovsky <leon@...nel.org>, Eyal Birger <eyal.birger@...il.com>,
Sabrina Dubroca <sd@...asysnail.net>
Subject: Re: [PATCH ipsec-next v10 3/3] xfrm: Add dir validation to "in" data
path lookup
Le 11/04/2024 à 11:42, Antony Antony a écrit :
> grep -vw 0 /proc/net/xfrm_stat
> XfrmInDirError 3
>
> Signed-off-by: Antony Antony <antony.antony@...unet.com>
> ---
> include/uapi/linux/snmp.h | 1 +
> net/ipv6/xfrm6_input.c | 7 +++++++
> net/xfrm/xfrm_input.c | 11 +++++++++++
> net/xfrm/xfrm_proc.c | 1 +
> 4 files changed, 20 insertions(+)
>
> diff --git a/include/uapi/linux/snmp.h b/include/uapi/linux/snmp.h
> index 00e179c382c0..da5714e9a311 100644
> --- a/include/uapi/linux/snmp.h
> +++ b/include/uapi/linux/snmp.h
> @@ -338,6 +338,7 @@ enum
> LINUX_MIB_XFRMOUTSTATEINVALID, /* XfrmOutStateInvalid */
> LINUX_MIB_XFRMACQUIREERROR, /* XfrmAcquireError */
> LINUX_MIB_XFRMOUTDIRERROR, /* XfrmOutDirError */
> + LINUX_MIB_XFRMINDIRERROR, /* XfrmInDirError */
Same here:
LINUX_MIB_XFRMINSTATEDIRERROR / XfrmInStateDirError
Powered by blists - more mailing lists