linux/arch
Xiang Yang c8583b4655 um: vector: Fix memory leak in vector_config
[ Upstream commit 8f88c73afe ]

If the return value of the uml_parse_vector_ifspec function is NULL,
we should call kfree(params) to prevent memory leak.

Fixes: 49da7e64f3 ("High Performance UML Vector Network Driver")
Signed-off-by: Xiang Yang <xiangyang3@huawei.com>
Acked-By: Anton Ivanov <anton.ivanov@kot-begemot.co.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-11 13:55:19 +01:00
..
alpha alpha: fix FEN fault handling 2023-03-10 09:34:25 +01:00
arc
arm ARM: dts: exynos: correct TMU phandle in Odroid HC1 2023-03-10 09:34:24 +01:00
arm64 arm64: mm: hugetlb: Disable HUGETLB_PAGE_OPTIMIZE_VMEMMAP 2023-03-10 09:34:24 +01:00
csky
hexagon
ia64
loongarch LoongArch, bpf: Use 4 instructions for function address in JIT 2023-03-10 09:33:06 +01:00
m68k m68k: Check syscall_trace_enter() return code 2023-03-10 09:33:51 +01:00
microblaze
mips MIPS: DTS: CI20: fix otg power gpio 2023-03-10 09:34:30 +01:00
nios2
openrisc
parisc
powerpc powerpc: Remove linker flag from KBUILD_AFLAGS 2023-03-10 09:33:41 +01:00
riscv riscv: ftrace: Reduce the detour code size to half 2023-03-10 09:34:30 +01:00
s390 KVM: s390: disable migration mode when dirty tracking is disabled 2023-03-10 09:34:05 +01:00
sh
sparc sparc: allow PM configs for sparc32 COMPILE_TEST 2023-03-10 09:33:27 +01:00
um um: vector: Fix memory leak in vector_config 2023-03-11 13:55:19 +01:00
x86 x86/speculation: Allow enabling STIBP with legacy IBRS 2023-03-10 09:34:14 +01:00
xtensa
.gitignore
Kconfig