Linux kernel source tree
Go to file
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
Documentation linux-can-fixes-for-6.14-20250208 2025-02-10 19:24:06 -08:00
LICENSES
arch sh updates for v6.14 2025-02-02 10:40:27 -08:00
block
certs
crypto
drivers mlxsw: Add return value check for mlxsw_sp_port_get_stats_raw() 2025-02-13 08:38:06 -08:00
fs for-6.14-rc1-tag 2025-02-05 08:13:07 -08:00
include vrf: use RCU protection in l3mdev_l3_out() 2025-02-10 18:09:09 -08:00
init
io_uring
ipc
kernel Fixes for kthreads 2025-02-04 11:01:48 -08:00
lib 21 hotfixes. 8 are cc:stable and the remainder address post-6.13 issues. 2025-02-01 09:49:20 -08:00
mm assorted stuff for this merge window 2025-02-01 15:07:56 -08:00
net ipv6: mcast: add RCU protection to mld_newpack() 2025-02-13 08:37:21 -08:00
rust
samples
scripts 21 hotfixes. 8 are cc:stable and the remainder address post-6.13 issues. 2025-02-01 09:49:20 -08:00
security
sound
tools vsock/test: Add test for SO_LINGER null ptr deref 2025-02-12 20:01:29 -08:00
usr
virt
.clang-format
.clippy.toml
.cocciconfig
.editorconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap wireless fixes for v6.14-rc3 2025-02-10 18:13:07 -08:00
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS MAINTAINERS: Add sctp headers to the general netdev entry 2025-02-12 19:58:42 -08:00
Makefile Linux 6.14-rc1 2025-02-02 15:39:26 -08:00
README

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the reStructuredText markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.