diff options
author | Sean Wang <[email protected]> | 2017-07-22 20:45:55 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-07-24 13:43:23 -0700 |
commit | 6c7fce6fa86a110d6455662d823c4e09f8f7be4a (patch) | |
tree | 038a3d9491954e109acb58200ef3129b96e38dbd /net/switchdev/switchdev.c | |
parent | 96080f697786e0a30006fcbcc5b53f350fcb3e9f (diff) |
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 <[email protected]>
Acked-by: John Crispin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions