[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y14yLfoacI314Js2@unreal>
Date: Sun, 30 Oct 2022 10:13:33 +0200
From: Leon Romanovsky <leon@...nel.org>
To: Sabrina Dubroca <sd@...asysnail.net>
Cc: netdev@...r.kernel.org, Antoine Tenart <atenart@...nel.org>
Subject: Re: [PATCH net v2 2/5] macsec: delete new rxsc when offload fails
On Wed, Oct 26, 2022 at 11:56:24PM +0200, Sabrina Dubroca wrote:
> Currently we get an inconsistent state:
> - netlink returns the error to userspace
> - the RXSC is installed but not offloaded
>
> Then the device could get confused when we try to add an RXSA, because
> the RXSC isn't supposed to exist.
>
> Fixes: 3cf3227a21d1 ("net: macsec: hardware offloading infrastructure")
> Signed-off-by: Sabrina Dubroca <sd@...asysnail.net>
> ---
> drivers/net/macsec.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
Thanks,
Reviewed-by: Leon Romanovsky <leonro@...dia.com>
Powered by blists - more mailing lists