On Tue, Apr 17, 2018 at 11:27:54PM -0400, David Miller wrote: > From: Andrew Lunn <andrew@xxxxxxx> > Date: Tue, 17 Apr 2018 23:59:33 +0200 > > > [ Upstream commit fc5f33768cca7144f8d793205b229d46740d183b ] > > > > The Marvell switches under some conditions will pass a frame to the > > host with the port being the CPU port. Such frames are invalid, and > > should be dropped. Not dropping them can result in a crash when > > incrementing the receive statistics for an invalid port. > > > > This has been reworked for 4.14, which does not have the central > > dsa_master_find_slave() function, so each tag driver needs to check. > > > > Reported-by: Chris Healy <cphealy@xxxxxxxxx> > > Fixes: 91da11f870f0 ("net: Distributed Switch Architecture protocol support") > > Signed-off-by: Andrew Lunn <andrew@xxxxxxx> > > Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx> > > Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx> > > Stable folks, please queue up this backport for 4.14 stable. Now queued up, thanks. greg k-h