linux/drivers
Wentao Liang fee5d68894 mlxsw: Add return value check for mlxsw_sp_port_get_stats_raw()
Add a check for the return value of mlxsw_sp_port_get_stats_raw()
in __mlxsw_sp_port_get_stats(). If mlxsw_sp_port_get_stats_raw()
returns an error, exit the function to prevent further processing
with potentially invalid data.

Fixes: 614d509aa1 ("mlxsw: Move ethtool_ops to spectrum_ethtool.c")
Cc: stable@vger.kernel.org # 5.9+
Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Link: https://patch.msgid.link/20250212152311.1332-1-vulab@iscas.ac.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-02-13 08:38:06 -08:00
..
accel
accessibility
acpi 21 hotfixes. 8 are cc:stable and the remainder address post-6.13 issues. 2025-02-01 09:49:20 -08:00
amba
android
ata ata changes for 6.14 part2 2025-01-31 11:07:56 -08:00
atm
auxdisplay
base RISC-V Patches for the 6.14 Merge Window, Part 1 2025-01-31 15:13:25 -08:00
bcma
block block-6.14-20250131 2025-01-31 11:49:30 -08:00
bluetooth
bus
cache
cdrom
cdx
char
clk
clocksource
comedi
connector
counter
cpufreq
cpuidle More power management updates for 6.14-rc1 2025-01-30 15:10:34 -08:00
crypto
cxl
dax
dca
devfreq
dio
dma
dma-buf
dpll
edac
eisa
extcon
firewire
firmware sound fixes for 6.14-rc1 2025-01-31 09:17:02 -08:00
fpga
fsi
gnss
gpio gpio fixes for v6.14-rc1 2025-01-30 10:19:30 -08:00
gpu drm fixes for 6.14-rc1 2025-01-31 15:45:41 -08:00
greybus
hid
hsi
hte
hv
hwmon
hwspinlock
hwtracing
i2c i2c-for-6.14-rc1-take2 2025-01-30 17:43:36 -08:00
i3c
idle
iio
infiniband
input
interconnect
iommu
ipack
irqchip
isdn
leds
macintosh
mailbox
mcb
md block-6.14-20250131 2025-01-31 11:49:30 -08:00
media [GIT PULL for v6.14] media updates 2025-02-01 09:15:01 -08:00
memory
memstick
message
mfd
misc
mmc
most
mtd block-6.14-20250131 2025-01-31 11:49:30 -08:00
mux
net mlxsw: Add return value check for mlxsw_sp_port_get_stats_raw() 2025-02-13 08:38:06 -08:00
nfc
ntb
nubus
nvdimm
nvme block: force noio scope in blk_mq_freeze_queue 2025-01-31 07:20:08 -07:00
nvmem
of
opp
parisc
parport
pci
pcmcia
peci
perf
phy
pinctrl
platform platform/x86/intel/ifs: Update documentation with image download path 2025-02-04 10:00:45 +02:00
pmdomain
pnp
power
powercap
pps
ps3
ptp ptp: vmclock: Remove goto-based cleanup logic 2025-02-11 10:20:52 +01:00
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc RTC for 6.13 2025-01-30 17:50:02 -08:00
s390 more s390 updates for 6.14 merge window 2025-01-30 10:48:17 -08:00
sbus
scsi block-6.14-20250131 2025-01-31 11:49:30 -08:00
sh
siox
slimbus
soc
soundwire soundwire updates for 6.14 2025-01-29 14:38:19 -08:00
spi
spmi
ssb
staging
target
tc
tee
thermal
thunderbolt
tty
ufs block-6.14-20250131 2025-01-31 11:49:30 -08:00
uio
usb
vdpa
vfio
vhost
video
virt
virtio
w1
watchdog
xen
zorro
Kconfig
Makefile