[PATCH v2 net] net: ethernet: mediatek: avoid potential invalid memory access

David Miller davem at davemloft.net
Mon Jul 24 13:44:08 PDT 2017


From: <sean.wang at mediatek.com>
Date: Sat, 22 Jul 2017 20:45:55 +0800

> From: Sean Wang <sean.wang at mediatek.com>
> 
> 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 at mediatek.com>
> Acked-by: John Crispin <john at phrozen.org>

Applied.



More information about the Linux-mediatek mailing list