1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/mediatek
Lorenzo Bianconi f27b405ef4 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: c4f033d9e0 ("net: ethernet: mtk_eth_soc: rework hardware flow table management")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-09-07 15:29:40 +01:00
..
Kconfig net: ethernet: mtk_eth_soc: add support for page_pool_get_stats 2022-07-25 10:38:57 +01:00
Makefile eth: mtk_eth_soc: silence the GCC 12 array-bounds warning 2022-05-22 22:21:11 +01:00
mtk_eth_path.c net: mtk_eth: simplify the mediatek code return expression 2020-12-14 17:51:26 -08:00
mtk_eth_soc.c net: ethernet: mtk_eth_soc: fix hw hash reporting for MTK_NETSYS_V2 2022-08-25 13:17:01 +02:00
mtk_eth_soc.h net: ethernet: mtk_eth_soc: fix hw hash reporting for MTK_NETSYS_V2 2022-08-25 13:17:01 +02:00
mtk_ppe.c net: ethernet: mtk_eth_soc: fix typo in __mtk_foe_entry_clear 2022-09-07 15:25:03 +01:00
mtk_ppe.h net: ethernet: mtk_eth_soc: check max allowed hash in mtk_ppe_check_skb 2022-09-07 15:29:40 +01:00
mtk_ppe_debugfs.c net: ethernet: mtk_eth_soc: remove bridge flow offload type entry support 2022-04-06 14:08:50 +01:00
mtk_ppe_offload.c net: ethernet: mtk-ppe: fix traffic offload with bridged wlan 2022-07-25 14:04:58 +01:00
mtk_ppe_regs.h net: ethernet: mtk_eth_soc: add support for initializing the PPE 2021-03-24 12:48:39 -07:00
mtk_sgmii.c net: mtk_eth_soc: partially convert to phylink_pcs 2022-05-19 18:14:30 -07:00
mtk_star_emac.c eth: mtk: switch to netif_napi_add_tx() 2022-07-08 12:12:27 +01:00
mtk_wed.c net: ethernet: mtk_eth_soc: fix off by one check of ARRAY_SIZE 2022-07-18 20:12:04 -07:00
mtk_wed.h net: ethernet: mtk_eth_soc: implement flow offloading to WED devices 2022-04-06 14:08:49 +01:00
mtk_wed_debugfs.c net: ethernet: mtk_eth_soc: add support for Wireless Ethernet Dispatch (WED) 2022-04-06 14:08:49 +01:00
mtk_wed_ops.c net: ethernet: mtk_eth_soc: add support for Wireless Ethernet Dispatch (WED) 2022-04-06 14:08:49 +01:00
mtk_wed_regs.h net: ethernet: mtk_eth_soc: add support for Wireless Ethernet Dispatch (WED) 2022-04-06 14:08:49 +01:00