Re: [PATCH net v4] net: mvpp2: fix the phylink mode validation

From: David Miller
Date: Wed Dec 19 2018 - 19:39:42 EST

From: Antoine Tenart <antoine.tenart@xxxxxxxxxxx>
Date: Wed, 19 Dec 2018 18:00:12 +0100

> The mvpp2_phylink_validate() sets all modes that are supported by a
> given PPv2 port. An mistake made the 10000baseT_Full mode being
> advertised in some cases when a port wasn't configured to perform at
> 10G. This patch fixes this.
> Fixes: d97c9f4ab000 ("net: mvpp2: 1000baseX support")
> Reported-by: Russell King <linux@xxxxxxxxxxxxxxx>
> Signed-off-by: Antoine Tenart <antoine.tenart@xxxxxxxxxxx>

Applied and queued up for -stable.