linux-stable/drivers
Edward Cree ae074e2b2f sfc: check for zero length in EF10 RX prefix
When EF10 RXDP firmware is operating in cut-through mode, packet length
 is not known at the time the RX prefix is generated, so it is left as
 zero and RX event merging is inhibited to ensure that the length is
 available in the RX event.  However, it has been found that in certain
 circumstances the RX events for these packets still get merged,
 meaning the driver cannot read the length from the RX event, and tries
 to use the length from the prefix.
The resulting zero-length SKBs cause crashes in GRO since commit
 1d11fa6967 ("net-gro: remove GRO_DROP"), so add a check to the driver
 to detect these zero-length RX events and discard the packet.

Signed-off-by: Edward Cree <ecree.xilinx@gmail.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-09-01 08:14:57 +01:00
..
accel
accessibility
acpi
amba
android
ata
atm
auxdisplay
base regmap: Updates for v6.6 2023-08-29 09:26:04 -07:00
bcma
block Networking changes for 6.6. 2023-08-29 11:33:01 -07:00
bluetooth
bus
cdrom
cdx
char This update includes the following changes: 2023-08-29 11:23:29 -07:00
clk
clocksource
comedi
connector
counter
cpufreq
cpuidle
crypto This update includes the following changes: 2023-08-29 11:23:29 -07:00
cxl
dax
dca
devfreq
dio
dma
dma-buf
edac
eisa
extcon
firewire
firmware
fpga
fsi
gnss
gpio gpio updates for v6.6 2023-08-29 10:21:56 -07:00
gpu
greybus
hid
hsi
hte
hv
hwmon hwmon updates for v6.6 2023-08-29 10:02:35 -07:00
hwspinlock
hwtracing
i2c
i3c
idle
iio
infiniband Networking changes for 6.6. 2023-08-29 11:33:01 -07:00
input
interconnect
iommu
ipack
irqchip
isdn
leds
macintosh
mailbox
mcb
md
media
memory
memstick
message
mfd spi: Updates for v6.6 2023-08-29 09:47:33 -07:00
misc
mmc
most
mtd
mux
net sfc: check for zero length in EF10 RX prefix 2023-09-01 08:14:57 +01:00
nfc NFC: nxp: add NXP1002 2023-08-30 18:32:24 -07:00
ntb
nubus
nvdimm
nvme
nvmem
of
opp
parisc
parport
pci
pcmcia
peci
perf
phy
pinctrl spi: Updates for v6.6 2023-08-29 09:47:33 -07:00
platform Networking changes for 6.6. 2023-08-29 11:33:01 -07:00
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator regulator: Updates for v6.6 2023-08-29 09:40:16 -07:00
remoteproc
reset
rpmsg
rtc
s390 Networking changes for 6.6. 2023-08-29 11:33:01 -07:00
sbus
scsi
sh
siox
slimbus
soc
soundwire
spi spi: Updates for v6.6 2023-08-29 09:47:33 -07:00
spmi
ssb
staging
target
tc
tee
thermal
thunderbolt
tty
ufs
uio
usb
vdpa
vfio
vhost
video
virt
virtio
vlynq
w1
watchdog
xen
zorro
Kconfig
Makefile