No description
Find a file
Zhengchao Shao 34b4998d25 net: marvell: prestera: fix memory leak in prestera_rxtx_switch_init()
[ Upstream commit 519b58bbfa ]

When prestera_sdma_switch_init() failed, the memory pointed to by
sw->rxtx isn't released. Fix it. Only be compiled, not be tested.

Fixes: 501ef3066c ("net: marvell: prestera: Add driver for Prestera family ASIC devices")
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Reviewed-by: Vadym Kochan <vadym.kochan@plvision.eu>
Link: https://lore.kernel.org/r/20221108025607.338450-1-shaozhengchao@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-19 17:56:10 +08:00
arch KVM: s390: pv: don't allow userspace to set the clock under PV 2023-04-19 17:56:08 +08:00
block block, bfq: protect 'bfqd->queued' by 'bfqd->lock' 2023-04-19 17:56:02 +08:00
certs certs/blacklist_hashes.c: fix const confusion in certs blacklist 2023-04-19 17:50:34 +08:00
crypto crypto: akcipher - default implementation for setting a private key 2023-04-19 17:55:27 +08:00
Documentation KVM: s390: pv: don't allow userspace to set the clock under PV 2023-04-19 17:56:08 +08:00
drivers net: marvell: prestera: fix memory leak in prestera_rxtx_switch_init() 2023-04-19 17:56:10 +08:00
fs fuse: fix readdir cache race 2023-04-19 17:56:06 +08:00
include capabilities: fix undefined behavior in bit shift for CAP_TO_MASK 2023-04-19 17:56:08 +08:00
init stack: Declare {randomize_,}kstack_offset to fix Sparse warnings 2023-04-19 17:52:12 +08:00
ipc ipc/mqueue: use get_tree_nodev() in mqueue_get_tree() 2023-04-19 17:49:52 +08:00
kernel bpf: Fix wrong reg type conversion in release_reference() 2023-04-19 17:56:07 +08:00
lib lib/Kconfig.debug: Add check for non-constant .{s,u}leb128 support to DWARF5 2023-04-19 17:55:38 +08:00
LICENSES LICENSES/dual/CC-BY-4.0: Git rid of "smart quotes" 2021-07-15 06:31:24 -06:00
mm mm/hugetlb: fix races when looking up a CONT-PTE/PMD size hugetlb page 2023-04-19 17:55:55 +08:00
net netfilter: Cleanup nft_net->module_list from nf_tables_exit_net() 2023-04-19 17:56:10 +08:00
samples samples/landlock: Format with clang-format 2023-04-19 17:50:01 +08:00
scripts kbuild: rpm-pkg: fix breakage when V=1 is used 2023-04-19 17:55:28 +08:00
security capabilities: fix potential memleak on error path from vfs_getxattr_alloc() 2023-04-19 17:56:03 +08:00
sound ALSA: aoa: Fix I2S device accounting 2023-04-19 17:55:53 +08:00
tools perf tools: Add the include/perf/ directory to .gitignore 2023-04-19 17:56:10 +08:00
usr usr/include/Makefile: add linux/nfc.h to the compile-test coverage 2023-04-19 17:44:58 +08:00
virt kvm: Add support for arch compat vm ioctls 2023-04-19 17:55:40 +08:00
.clang-format clang-format: Update with the latest for_each macro list 2021-05-12 23:32:39 +02:00
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap mailmap: add Andrej Shadura 2021-10-18 20:22:03 -10:00
COPYING
CREDITS MAINTAINERS: Move Daniel Drake to credits 2021-09-21 08:34:58 +03:00
Kbuild
Kconfig
MAINTAINERS Input: goodix - add a goodix.h header file 2023-04-19 17:50:59 +08:00
Makefile Linux 5.15.78 2023-04-19 17:56:06 +08:00
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 Restructured Text 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.