diff options
author | Andrew Lunn <[email protected]> | 2018-04-07 20:37:40 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-04-08 10:34:49 -0400 |
commit | fc5f33768cca7144f8d793205b229d46740d183b (patch) | |
tree | d78a133561ac517c10aae6b2baa1d505388fd6df /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 6780db244d6b1537d139dea0ec8aad10cf9e4adb (diff) |
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 <[email protected]>
Fixes: 91da11f870f0 ("net: Distributed Switch Architecture protocol support")
Signed-off-by: Andrew Lunn <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions