Re: [PATCH net v2] Retrieve MACSec-XPN attributes before offloading

From: Carlos Fernandez
Date: Thu May 19 2022 - 03:43:52 EST


Where should I rebase it? Thanks.

________________________________________
From: Jakub Kicinski <kuba@xxxxxxxxxx>
Sent: Wednesday, May 18, 2022 6:23 PM
To: Carlos Fernandez
Cc: pabeni@xxxxxxxxxx; Carlos Fernandez; davem@xxxxxxxxxxxxx; edumazet@xxxxxxxxxx; netdev@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
Subject: Re: [PATCH net v2] Retrieve MACSec-XPN attributes before offloading

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

On Wed, 18 May 2022 11:01:51 +0200 Carlos Fernandez wrote:
> When MACsec offloading is used with XPN, before mdo_add_rxsa
> and mdo_add_txsa functions are called, the key salt is not
> copied to the macsec context struct. Offloaded phys will need
> this data when performing offloading.
>
> Fix by copying salt and id to context struct before calling the
> offloading functions.
>
> Fixes: 48ef50fa866a ("macsec: Netlink support of XPN cipher suites")
> Signed-off-by: Carlos Fernandez <carlos.fernandez@xxxxxxxxxxxxxxxxxxxxxxx>

Does not apply to net, please rebase.