[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CADdy8HodW1HLvO-36T0uiXji11km83ZDhYgEAavD9EVz+wCq8Q@mail.gmail.com>
Date: Tue, 2 Jun 2020 11:55:26 +0200
From: Christophe Gouault <christophe.gouault@...nd.com>
To: Petr Vaněk <pv@...ello.cz>
Cc: Steffen Klassert <steffen.klassert@...unet.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next v2] xfrm: introduce oseq-may-wrap flag
Le sam. 30 mai 2020 à 14:39, Petr Vaněk <pv@...ello.cz> a écrit :
>
> RFC 4303 in section 3.3.3 suggests to disable anti-replay for manually
> distributed ICVs in which case the sender does not need to monitor or
> reset the counter. However, the sender still increments the counter and
> when it reaches the maximum value, the counter rolls over back to zero.
>
> This patch introduces new extra_flag XFRM_SA_XFLAG_OSEQ_MAY_WRAP which
> allows sequence number to cycle in outbound packets if set. This flag is
> used only in legacy and bmp code, because esn should not be negotiated
> if anti-replay is disabled (see note in 3.3.3 section).
> (...)
Hi Petr,
Thank you for taking my comment into account.
This new patch looks good to me.
Acked-by: Christophe Gouault <christophe.gouault@...nd.com>
Regards,
Christophe
Powered by blists - more mailing lists