mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 20:10:23 +09:00
Revert "net: phy: mscc: macsec: reject PN update requests"
This reverts commit935a15334dwhich is commite0a8c918daupstream. It breaks the Android KABI and is not needed at this time for any Android-relevant systems. Bug: 161946584 Change-Id: Icc2bb21cc8f1432d765a4fbf279fdcd5ffffd281 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
@@ -880,9 +880,6 @@ static int vsc8584_macsec_upd_rxsa(struct macsec_context *ctx)
|
||||
{
|
||||
struct macsec_flow *flow;
|
||||
|
||||
if (ctx->sa.update_pn)
|
||||
return -EINVAL;
|
||||
|
||||
flow = vsc8584_macsec_find_flow(ctx, MACSEC_INGR);
|
||||
if (IS_ERR(flow))
|
||||
return PTR_ERR(flow);
|
||||
@@ -932,9 +929,6 @@ static int vsc8584_macsec_upd_txsa(struct macsec_context *ctx)
|
||||
{
|
||||
struct macsec_flow *flow;
|
||||
|
||||
if (ctx->sa.update_pn)
|
||||
return -EINVAL;
|
||||
|
||||
flow = vsc8584_macsec_find_flow(ctx, MACSEC_EGR);
|
||||
if (IS_ERR(flow))
|
||||
return PTR_ERR(flow);
|
||||
|
||||
Reference in New Issue
Block a user