]> git.baikalelectronics.ru Git - kernel.git/commit
macsec: fix error message in macsec_add_rxsa and _txsa
authorSabrina Dubroca <sd@queasysnail.net>
Fri, 22 Jul 2022 09:16:28 +0000 (11:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jul 2022 10:49:25 +0000 (11:49 +0100)
commit1321baaaffdd65cf5a641e6e64e886db077ae294
treecbe24b13cf3256c87649056c774cb7ce2bdf9d3e
parent6d3134025b04a9fad9dc521822288dd3307a50fa
macsec: fix error message in macsec_add_rxsa and _txsa

The expected length is MACSEC_SALT_LEN, not MACSEC_SA_ATTR_SALT.

Fixes: f5e80c04da34 ("macsec: Netlink support of XPN cipher suites (IEEE 802.1AEbw)")
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macsec.c