Hello: This patch was applied to bpf/bpf.git (master) by Daniel Borkmann <daniel@xxxxxxxxxxxxx>: On Tue, 14 Jun 2022 07:07:46 +0000 you wrote: > Two points of potential failure in the generic transmit function are: > 1. completion queue (cq) reservation failure. > 2. skb allocation failure > > Originally the cq reservation was performed first, followed by the skb > allocation. Commit 675716400da6 ("xdp: fix possible cq entry leak") > reversed the order because at the time there was no mechanism available to > undo the cq reservation which could have led to possible cq entry leaks in > the event of skb allocation failure. However if the skb allocation is > performed first and the cq reservation then fails, the xsk skb destructor > is called which blindly adds the skb address to the already full cq leading > to undefined behavior. > > [...] Here is the summary with links: - [bpf] xsk: fix generic transmit when completion queue reservation fails https://git.kernel.org/bpf/bpf/c/a6e944f25cdb You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html