diff options
author | Sabrina Dubroca <sd@queasysnail.net> | 2022-11-02 22:33:13 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-11-04 10:43:56 +0000 |
commit | 93a30947821c203d08865c4e17ea181c9668ce52 (patch) | |
tree | c95c91ced5ded27d235d31012216389b5c3b5962 /Documentation/arm64 | |
parent | 8bcd560ae8784da57c610d857118c5d6576b1a8f (diff) | |
download | linux-stable-93a30947821c203d08865c4e17ea181c9668ce52.tar.gz linux-stable-93a30947821c203d08865c4e17ea181c9668ce52.tar.bz2 linux-stable-93a30947821c203d08865c4e17ea181c9668ce52.zip |
macsec: delete new rxsc when offload fails
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@queasysnail.net>
Reviewed-by: Antoine Tenart <atenart@kernel.org>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/arm64')
0 files changed, 0 insertions, 0 deletions