Revert "net: phy: mscc: macsec: reject PN update requests"

This reverts commit a698195f3a which is
commit e0a8c918daa58700609ebd45e3fcd49965be8bbc upstream.

It breaks the Android ABI so revert it for now, if it is needed in the
future, it can be brought back in an ABI-safe way.

Bug: 161946584
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I8176a4f67c346aa762721515bd797078581eef1b
This commit is contained in:
Greg Kroah-Hartman 2023-11-02 15:27:31 +00:00
parent a36206a6bb
commit 394fcccbe1

View File

@ -844,9 +844,6 @@ static int vsc8584_macsec_upd_rxsa(struct macsec_context *ctx)
struct macsec_flow *flow;
int ret;
if (ctx->sa.update_pn)
return -EINVAL;
flow = vsc8584_macsec_find_flow(ctx, MACSEC_INGR);
if (IS_ERR(flow))
return PTR_ERR(flow);
@ -900,9 +897,6 @@ static int vsc8584_macsec_upd_txsa(struct macsec_context *ctx)
struct macsec_flow *flow;
int ret;
if (ctx->sa.update_pn)
return -EINVAL;
flow = vsc8584_macsec_find_flow(ctx, MACSEC_EGR);
if (IS_ERR(flow))
return PTR_ERR(flow);