[PATCH] security: fix comments
Morten Brørup
mb at smartsharesystems.com
Wed Apr 27 10:20:52 CEST 2022
> From: Anoob Joseph [mailto:anoobj at marvell.com]
> Sent: Wednesday, 27 April 2022 08.02
>
> Fix comments to reflect the field.
>
> Fixes: ad7515a39f2a ("security: add SA lifetime configuration")
> Cc: anoobj at marvell.com
>
> Reported-by: Thomas Monjalon <thomas at monjalon.net>
> Signed-off-by: Anoob Joseph <anoobj at marvell.com>
> ---
> lib/security/rte_security.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/lib/security/rte_security.h b/lib/security/rte_security.h
> index 2a43cbe..675db94 100644
> --- a/lib/security/rte_security.h
> +++ b/lib/security/rte_security.h
> @@ -311,9 +311,9 @@ struct rte_security_ipsec_lifetime {
> uint64_t bytes_soft_limit;
> /**< Soft expiry limit in bytes */
> uint64_t packets_hard_limit;
> - /**< Soft expiry limit in number of packets */
> + /**< Hard expiry limit in number of packets */
> uint64_t bytes_hard_limit;
> - /**< Soft expiry limit in bytes */
> + /**< Hard expiry limit in bytes */
> };
>
> /**
> --
> 2.7.4
>
Reviewed-by: Morten Brørup <mb at smartsharesystems.com>
More information about the dev
mailing list