linux_dsm_epyc7002/drivers/net/ethernet/mediatek
Sean Wang 6c7fce6fa8 net: ethernet: mediatek: avoid potential invalid memory access
Potential dangerous invalid memory might be accessed if invalid mac value
reflected from the forward port field in rxd4 caused by possible potential
hardware defects. So added a simple sanity checker to avoid the kind of
situation happening.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Acked-by: John Crispin <john@phrozen.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-07-24 13:43:23 -07:00
..
Kconfig net-next: mediatek: add Kconfig and Makefile 2016-03-10 16:22:12 -05:00
Makefile net-next: mediatek: add Kconfig and Makefile 2016-03-10 16:22:12 -05:00
mtk_eth_soc.c net: ethernet: mediatek: avoid potential invalid memory access 2017-07-24 13:43:23 -07:00
mtk_eth_soc.h net-next: mediatek: split IRQ register locking into TX and RX 2017-06-20 13:40:35 -04:00