Commit 2ee49ac5 authored by Sabrina Dubroca's avatar Sabrina Dubroca Committed by Zheng Zengkai
Browse files

macsec: fix error message in macsec_add_rxsa and _txsa

stable inclusion
from stable-v5.10.135
commit 0755c9d05ab28002d5af6b5aa2275abce34db1be
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I5ZWFM

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0755c9d05ab28002d5af6b5aa2275abce34db1be



--------------------------------

[ Upstream commit 3240eac4 ]

The expected length is MACSEC_SALT_LEN, not MACSEC_SA_ATTR_SALT.

Fixes: 48ef50fa ("macsec: Netlink support of XPN cipher suites (IEEE 802.1AEbw)")
Signed-off-by: default avatarSabrina Dubroca <sd@queasysnail.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Reviewed-by: default avatarWei Li <liwei391@huawei.com>
parent a7d69fe7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment