mscc: Configured MAC entries should be locked.
Subsystems (3)
PATCH v2 1/1 mscc: Configured MAC entries should be locked.
From: "Allan W. Nielsen" <[email protected]>
The MAC table in Ocelot supports auto aging (normal) and static entries. MAC entries that is manually configured should be static and not subject to aging.
--- drivers/net/ethernet/mscc/ocelot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/mscc/ocelot.c +1 -1
@@ -747,7 +747,7 @@ static int ocelot_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], }return ocelot_mact_learn (ocelot, port->chip_port, addr, vid, -ENTRYTYPE_NORMAL ); +ENTRYTYPE_LOCKED ); } static int ocelot_fdb_del(struct ndmsg *ndm, struct nlattr *tb[],
Signature · 1 line
2.20.1
Quoted 9 lines · Steen Hegelund
From: "Allan W. Nielsen" <[email protected]>
The MAC table in Ocelot supports auto aging (normal) and static entries. MAC entries that is manually configured should be static and not subject to aging.
Signed-off-by Allan Nielsen <[email protected]>Reviewed-by Steen Hegelund <[email protected]>Signed-off-by Steen Hegelund <[email protected]>
Andrew
David Miller
maintainerFrom: Steen Hegelund <[email protected]>
Date: Thu, 20 Dec 2018 09:37:17 +0100
Quoted 9 lines
From: "Allan W. Nielsen" <[email protected]>
The MAC table in Ocelot supports auto aging (normal) and static entries. MAC entries that is manually configured should be static and not subject to aging.
Signed-off-by Allan Nielsen <[email protected]>Reviewed-by Steen Hegelund <[email protected]>Signed-off-by Steen Hegelund <[email protected]>
Applied and queued up for -stable, thanks.