]> 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)
commit89676dbfcf94c0ecc8e445552ea39db975117aae
treecbe24b13cf3256c87649056c774cb7ce2bdf9d3e
parent87658d84faa6f4868950512f5b1c0f7c37ec764d
macsec: fix error message in macsec_add_rxsa and _txsa

The expected length is MACSEC_SALT_LEN, not MACSEC_SA_ATTR_SALT.

Fixes: bb178617ead6 ("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