Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: ethernet: mtk_eth_soc: check max allowed hash in mtk_ppe_check_skb
[ Upstream commit f27b405 ] Even if max hash configured in hw in mtk_ppe_hash_entry is MTK_PPE_ENTRIES - 1, check theoretical OOB accesses in mtk_ppe_check_skb routine Fixes: c4f033d ("net: ethernet: mtk_eth_soc: rework hardware flow table management") Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: David S. Miller <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
- Loading branch information