diff options
| author | Lorenzo Bianconi <[email protected]> | 2022-09-05 12:41:28 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-09-07 14:29:40 +0000 |
| commit | f27b405ef43319a3ceefc2123245201a63ed4e00 (patch) | |
| tree | 557502d19c546f2bdf52775208b5d271a9a3b9df /drivers/usb/cdns3/cdns3-imx.c | |
| parent | net: skb: export skb drop reaons to user by TRACE_DEFINE_ENUM (diff) | |
| download | kernel-f27b405ef43319a3ceefc2123245201a63ed4e00.tar.gz kernel-f27b405ef43319a3ceefc2123245201a63ed4e00.zip | |
net: ethernet: mtk_eth_soc: check max allowed hash in mtk_ppe_check_skb
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: c4f033d9e03e9 ("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]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions
