OpenCloudOS-Kernel/drivers/net/phy/mscc
Radu Pirea (NXP OSS) e0a8c918da net: phy: mscc: macsec: reject PN update requests
Updating the PN is not supported.
Return -EINVAL if update_pn is true.

The following command succeeded, but it should fail because the driver
does not update the PN:
ip macsec set macsec0 tx sa 0 pn 232 on

Fixes: 28c5107aa9 ("net: phy: mscc: macsec support")
Signed-off-by: Radu Pirea (NXP OSS) <radu-nicolae.pirea@oss.nxp.com>
Reviewed-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2023-10-10 10:30:31 +02:00
..
Makefile net: phy: mscc: improved serdes calibration applied to VSC8514 2021-02-16 14:06:18 -08:00
mscc.h phy: mscc: Use PHY_ID_MATCH_VENDOR to minimize PHY ID table 2023-05-31 22:33:45 -07:00
mscc_fc_buffer.h net: phy: mscc: fix copyright and author information in MACsec 2020-06-24 14:33:16 -07:00
mscc_mac.h net: phy: mscc: fix copyright and author information in MACsec 2020-06-24 14:33:16 -07:00
mscc_macsec.c net: phy: mscc: macsec: reject PN update requests 2023-10-10 10:30:31 +02:00
mscc_macsec.h net: phy: mscc: macsec: do not copy encryption keys 2022-11-18 09:17:42 +00:00
mscc_main.c net: phy: mscc: fix packet loss due to RGMII delays 2023-06-27 09:31:51 -07:00
mscc_ptp.c net: phy: Use netif_rx(). 2022-03-06 11:05:31 +00:00
mscc_ptp.h net: phy: mscc: use new PTP_MSGTYPE_* defines 2020-11-25 12:23:21 -08:00
mscc_serdes.c net: phy: mscc: improved serdes calibration applied to VSC8514 2021-02-16 14:06:18 -08:00
mscc_serdes.h net: phy: mscc: improved serdes calibration applied to VSC8514 2021-02-16 14:06:18 -08:00