Hello: This patch was applied to bpf/bpf-next.git (master) by Martin KaFai Lau <martin.lau@xxxxxxxxxx>: On Fri, 28 Oct 2022 20:34:05 +0200 you wrote: > For maps of type BPF_MAP_TYPE_CPUMAP memory is allocated first before > checking the max_entries argument. If then max_entries is greater than > NR_CPUS additional work needs to be done to free allocated memory before > an error is returned. > This changes moves the check on max_entries before the allocation > happens. > > [...] Here is the summary with links: - [bpf-next,v2] bpf: check max_entries before allocating memory https://git.kernel.org/bpf/bpf-next/c/e39e739ab573 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html