Hello: This patch was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <ast@xxxxxxxxxx>: On Fri, 23 Dec 2022 21:36:18 +0800 you wrote: > In the ensure_good_fd function, if the fcntl function succeeds but > the close function fails, ensure_good_fd returns a normal fd and > sets errno, which may cause users to misunderstand. The close > failure is not a serious problem, and the correct FD has been > handed over to the upper-layer application. Let's restore errno here. > > Signed-off-by: Xin Liu <liuxin350@xxxxxxxxxx> > > [...] Here is the summary with links: - [bpf-next] libbpf: fix errno is overwritten after being closed. https://git.kernel.org/bpf/bpf-next/c/07453245620c You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html