diff options
author | Radu Pirea (NXP OSS) <[email protected]> | 2023-10-05 21:06:35 +0300 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2023-10-10 10:30:31 +0200 |
commit | e0a8c918daa58700609ebd45e3fcd49965be8bbc (patch) | |
tree | 147947adb99a56608f160ef487b828cac7a4a0e2 /rust/helpers/helpers.c | |
parent | 4dcf38ae3ca16b8872f151d46ba5ac28dd580b60 (diff) |
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: 28c5107aa904 ("net: phy: mscc: macsec support")
Signed-off-by: Radu Pirea (NXP OSS) <[email protected]>
Reviewed-by: Sabrina Dubroca <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions