Go to file
Zhengchao Shao fe69230f05 caif: fix memory leak in cfctrl_linkup_request()
When linktype is unknown or kzalloc failed in cfctrl_linkup_request(),
pkt is not released. Add release process to error path.

Fixes: b482cd2053 ("net-caif: add CAIF core protocol stack")
Fixes: 8d545c8f95 ("caif: Disconnect without waiting for response")
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20230104065146.1153009-1-shaozhengchao@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2023-01-05 10:19:36 +01:00
arch powerpc: dts: t208x: Disable 10G on MAC1 and MAC2 2022-12-22 17:56:29 -08:00
block
certs
crypto
Documentation dt-bindings: net: marvell,orion-mdio: Fix examples 2023-01-01 15:00:12 +00:00
drivers qed: allow sleep in qed_mcp_trace_dump() 2023-01-04 20:32:56 -08:00
fs Including fixes from bpf, netfilter and can. 2022-12-21 08:41:32 -08:00
include Merge git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf 2023-01-03 09:12:22 +00:00
init
io_uring
ipc
kernel bpf: Always use maximal size for copy_array() 2022-12-28 14:54:53 -08:00
lib SPDX/License additions for 6.2-rc1 2022-12-20 08:53:16 -06:00
LICENSES
mm
net caif: fix memory leak in cfctrl_linkup_request() 2023-01-05 10:19:36 +01:00
rust
samples
scripts
security fs.vfsuid.ima.v6.2-rc1 2022-12-21 08:13:01 -08:00
sound
tools bpf-for-netdev 2023-01-04 20:17:19 -08:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS MAINTAINERS: Update maintainers for ptp_vmw driver 2023-01-04 08:52:44 +00:00
Makefile
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.