linux/drivers/net/ethernet/broadcom
Florian Fainelli 5f56767fb5 net: bcmgenet: Add a check for oversized packets
[ Upstream commit 5c0862c2c9 ]

Occasionnaly we may get oversized packets from the hardware which
exceed the nomimal 2KiB buffer size we allocate SKBs with. Add an early
check which drops the packet to avoid invoking skb_over_panic() and move
on to processing the next packet.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-10 09:33:51 +01:00
..
bnx2x
bnxt bnxt_en: Fix mqprio and XDP ring checking logic 2023-02-22 12:59:53 +01:00
genet net: bcmgenet: Add a check for oversized packets 2023-03-10 09:33:51 +01:00
b44.c
b44.h
bcm63xx_enet.c
bcm63xx_enet.h
bcm4908_enet.c
bcm4908_enet.h
bcmsysport.c
bcmsysport.h
bgmac-bcma-mdio.c
bgmac-bcma.c net: bgmac: fix BCM5358 support by setting correct flags 2023-02-22 12:59:51 +01:00
bgmac-platform.c
bgmac.c
bgmac.h
bnx2_fw.h
bnx2.c
bnx2.h
cnic_defs.h
cnic_if.h
cnic.c
cnic.h
Kconfig
Makefile
sb1250-mac.c
tg3.c net/tg3: resolve deadlock in tg3_reset_task() during EEH 2023-02-01 08:34:48 +01:00
tg3.h
unimac.h