From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795917607; b=G/6N1JOawDqRY7zcEwG3KTY2wA153XKf5BJqTR/E/uEahyxWoyTianmVNopiY8rda3wi P8EzhYb4YQ1CMNmKXVXVo3l14Lem/kEWqwy9c0U67DuaF8TBZtgm2DIlyM44oHq+FqIUa jiQCkKF584HcoURCBl7JjkgI1D6wiHsz/0JhxTm/RjL3hqVuE9ZCH1s2nKJ3L96iGS7ZS 4LhcXH2a/lG/q89D8FDt+I8q+urQ4JU3G5fV74UYO8ruXXEd/5ZXkujMGIr0GGrubJaAy J4knl4KJpIzVBSSQPz3UHVIoLtrvLX7hPnKeHZ3tVEk+LkBMzn9rKgdpdEdCQ0M9F5Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795917607; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=pjWR9V8d960vxjJfbx/rSScjDSdybvl5ZMbyNq0vRNc=; b=poG4VX2H52jpyUvM8VKUonMDRwdZPsC3jKSXXfrL3Fvr5MhTRK0lGLZDz5IuDnnojTX5 8hWmyfDf5Vl4pFhKVsWByuBKc2DniLojvcS6USmmdBUFeONU7hHmOZmK5V5LahNXRO0zE fc+Hdm2NcnBFEmGoCS8dDr3ZEuqTjnGb5ln9rYYpaqvx/y7ow65Fukh9ll3iqxSheG6L4 ihHsVmiMLLYqMzsu1+Fb1H7QwEAhWOGi7smpvJRHlORV+fOrEwDSp9IbvIHo9MPmFJ4it P/sbnPAIiFKyrwKLNOLJRQ79z9vyBC3YewHZyb3jHyr1NdJHPxhF5fptHM8h0k8gugQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=SQtroHVt; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AF514606A31C; Sun, 29 Nov 2026 02:00:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=SQtroHVt Received: by smtp.kernel.org (Postfix) with ESMTPSA id 410A41F00896; Sun, 29 Nov 2026 02:00:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795917607; bh=pjWR9V8d960vxjJfbx/rSScjDSdybvl5ZMbyNq0vRNc=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=SQtroHVt2hn4Li77Yvd7igh26Rz7Fmtp1i9Ejj6g7uCiVwGAi/Q45Iyi7O61qieFZ ZNnJ70LGsTmpuM5DUKLmQAs0Kf8e/T4BUYuDS0ISKgPrnQVDixnaO7qMSbnhTY45qV BMPTmFTr9FelpBJ2QU0ydS/HUI7PGgGH3SJuoi+5BxBvlQk2uBUhc62g7q7UkqXZdi uWrpm0RJ6LcGf/WJ9Zi291pO31wCZtJUS29nXC1hf9kmVg69UwadALXE7qSUPtjO8T 9IPh+kQF/gQ1Fu1DrzDZ93q+rPTed8g2+1xMrvojLLjTUO9Ao5MH4ZS55JIajZb7Ti unADowMiROqEw== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 346F1392B1D8; Sun, 29 Nov 2026 02:00:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH bpf-next v2] bpf: Reject sleepable struct_ops programs without check_member From: patchwork-bot+netdevbpf@kernel.org Message-Id: <179591760576.2126322.4017733718223280531.git-patchwork-notify@kernel.org> Date: Sun, 29 Nov 2026 02:00:05 +0000 References: <20261125045105.2326120-1-rhkrqnwk98@gmail.com> In-Reply-To: <20261125045105.2326120-1-rhkrqnwk98@gmail.com> To: Sechang Lim Cc: ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, martin.lau@linux.dev, eddyz87@gmail.com, memxor@gmail.com, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, jhs@mojatatu.com, jiri@resnulli.us, ameryhung@gmail.com, kuniyu@google.com, xiyou.wangcong@gmail.com, toke@redhat.com, alibuda@linux.alibaba.com, dust.li@linux.alibaba.com, sidraya@linux.ibm.com, mjambigi@linux.ibm.com, tonylu@linux.alibaba.com, guwen@linux.alibaba.com, void@manifault.com, bpf@vger.kernel.org, netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-s390@vger.kernel.org Hello: This patch was applied to bpf/bpf-next.git (master) by Alexei Starovoitov : On Wed, 25 Nov 2026 04:50:52 +0000 you wrote: > Any struct_ops program can be loaded as sleepable, and it is up to each > struct_ops to reject that in check_member. tcp_congestion_ops, Qdisc_ops > and smc_hs_ctrl have no check_member, although the kernel calls most of > their members in softirq, under a spinlock or under rcu_read_lock(). A > sleepable program attached there is entered through > __bpf_prog_enter_sleepable(), and lockdep reports "BUG: Invalid wait > context". > > [...] Here is the summary with links: - [bpf-next,v2] bpf: Reject sleepable struct_ops programs without check_member https://git.kernel.org/bpf/bpf-next/c/fcd1857c35eb You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html