summaryrefslogtreecommitdiffstats
path: root/net/Kconfig
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2018-04-07 20:37:40 +0200
committerDavid S. Miller <davem@davemloft.net>2018-04-08 10:34:49 -0400
commitfc5f33768cca7144f8d793205b229d46740d183b (patch)
treed78a133561ac517c10aae6b2baa1d505388fd6df /net/Kconfig
parent6780db244d6b1537d139dea0ec8aad10cf9e4adb (diff)
downloadlinux-stable-fc5f33768cca7144f8d793205b229d46740d183b.tar.gz
linux-stable-fc5f33768cca7144f8d793205b229d46740d183b.tar.bz2
linux-stable-fc5f33768cca7144f8d793205b229d46740d183b.zip
net: dsa: Discard frames from unused ports
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. Reported-by: Chris Healy <cphealy@gmail.com> Fixes: 91da11f870f0 ("net: Distributed Switch Architecture protocol support") Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/Kconfig')
0 files changed, 0 insertions, 0 deletions