Article View: linux.kernel.netdev
Article #22826Re: [PATCH v1 net] tcp: Don't clear saddr before ->put_port().
From: patchwork-bot+netdevbpf
Date: Thu, 26 Nov 2026 01:10
Date: Thu, 26 Nov 2026 01:10
26 lines
8640 bytes
8640 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Willem de Bruijn <willemb@google.com>:
On Sat, 21 Nov 2026 20:35:27 +0000 you wrote:
> When CGROUP_INET4_POST_BIND or CGROUP_INET6_POST_BIND prog fails,
> __inet_bind() / __inet6_bind() calls sk->sk_prot->put_port().
>
> For TCP, __inet_put_port() calls inet_bhashfn_portaddr() to get
> the corresponding bhash2 bucket.
>
> inet_bhashfn_portaddr() requires saddr, but it is cleared before
> __inet_put_port(), leading to bhash2 lock mismatch.
>
> [...]
Here is the summary with links:
- [v1,net] tcp: Don't clear saddr before ->put_port().
https://git.kernel.org/netdev/net/c/1ab3fb564f20
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179565540826.1427026.15998481991306045915.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371779-linux-kernel-netdev=dewy.ruReferences:
<20261121203537.341320-1-kuniyu@google.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371779-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH v1 net] tcp: Don't clear saddr before ->put_port(). Date: Thu, 26 Nov 2026 01:10:08 +0000 Organization: Usenet Network Message-ID: <179565540826.1427026.15998481991306045915.git-patchwork-notify@kernel.org> References: <20261121203537.341320-1-kuniyu@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="349504"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:Vc5t/hvzvFBUd4gMT/bDdhNn66E= sha256:TfSxpyfRvZ+Ukt40dtzo+GLeLQgxs+27eREWM02NLGo= sha1:5xMHNUVDP2In4b3GQTsEHgjFK4c= sha256:v4yYH5pJ+B6Azk1D3ctWYHtbO7LhLdLXL42619fGzS4= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 15CA7125EAE; Thu, 26 Nov 2026 04:12:45 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xhHjz8JHIL4X; Thu, 26 Nov 2026 04:12:41 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-371779-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id CF1DB125EAC; Thu, 26 Nov 2026 04:12:31 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sin.lore.kernel.org (Postfix) with ESMTP id B099830381; Thu, 26 Nov 2026 01:12:27 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1795655411; b=V07Kzn4Kz5Kn3hqD4eEIRaZlnWGyFkI2aWyrgFY1gdOo7mPx2PNvPNXVUvdyT6gEKtRK yltoBKceGQjHOrfb4v90dnYXfv/BsrKddG05HWZvlfeMqyokKzgAI6C0DQtKZQ7n1QtUC 5whWhnerzxP4w0VtjU2LTqj/ZKa6qmA8pJuZ7TqQYP2nIAb7QbngUxozyFtY7xcAX7lz0 Q2klLXS9fMpcJxoZpSCdM4fxYSqkJP507pBrHEu5CcPY+ojNx9J9Sbb+ygjzVuuMYXqww fC85fhjqB09NuMrUqWKZaYiXq5bqHH/zXifKGg/yjmAXJ0+uppcDt/LVLY7RW90JYAA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795655411; h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=sL7ADAMTMIoYwpkki9SjijgXTPROSoYnqRrVA20SES0=; b=z3cJv0aLyemnQALXT901qHmagKcfz7Kd+mmT2f53ZFElS11NecOxJefn29jPnJd5PWbN 8UT9W9013d6+5XP7SEIPq3KHmmqNxYw2S5C0lBG8rBIHTjCbcyxjTqm21UGeusBfZDYq1 Mmah3JJRYK5qvtuj3PxEE88Yd8a+hpae8JFGNAL2tuzFm4hIuKHlY7bQfVsa74EU9PLkP 7gyerfFjqRBI/Rp6VT3o444PbdirtBqQzfF8LgXe5sBY5xuekfV/rUXujkSVL0K4CX82N X6ly0x0gBY+QmTpl9JfvxI95tqoKweqe3dQSUwbGtgUN+aokRT/YcHq3+YoE4n6XKAQ== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ZGRWUVMp; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1AC7A606B748; Thu, 26 Nov 2026 01:10:11 +0000 (UTC) X-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=ZGRWUVMp X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795655410; b=wU/oRRtXgVMS/G16oNAQy+R4kq1pG1fypr6ea8iigK452bwOlxoglX8+qlYuDUw46pXs 2oHa1UbQe7oQFg2cGiKGlRqXSfdN1GfFR+RXOwsb+EAFotc96oFWMeIg4RCuPAUEkpI9x Daf/XqHs1emGFCfZtTlndHg7nlPM7D78+ws4ds/CEcEKhmPXXkY+Z3wqLEtdu3cpW07Db lKnX0W15X1zPcUpxRp+9veXCtfAlguI9DHZRLPVrk3N1z/Ef9F4ZKC00yd1z6rlEWs4i2 WREzXsofIGQkT/Q3d35+XXSrnfLpY8NSU2KDxvMVjgONNNRqyY1PI654JPBV2XHEMCg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795655410; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=sL7ADAMTMIoYwpkki9SjijgXTPROSoYnqRrVA20SES0=; b=C3fYzGrwydFqXzNk8pOgNNoSyTqUcSp2ZpsFbBAmkJ8WrL9PD9FBbsToUCvHtnG6a5bk 4tD4jX4T3g1bDZUi32BXb3O/9txJjS4lOkMJBonflGYQnTr5+oCxYweYFz1xPJdWLs+A8 IpZIMNH9KYgxGNlUBXp+T1WAG5kYaZDf2eo3sn6ztuMk2+WmrNaHOqsuB03QNqAyuU6KC ULThqn4ZR7F+SgA4Lp98eM7oQnxhtBgNBy5No/1b9cvPCf/f9eBgV61ygMlsmiDw7sLuO D39cxvRI+2Gd1wiFrLwvYiYMdMOM8ovlVz+qCYR5YSMRWZtPCmD08CLZNdFgxoLjWRQ== X-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=ZGRWUVMp; arc=none smtp.remote-ip=100.103.45.18 X-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)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3C230606A68D for <netdev@vger.kernel.org>; Thu, 26 Nov 2026 01:10:09 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id BE33A1F0156E; Thu, 26 Nov 2026 01:10:09 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795655409; bh=sL7ADAMTMIoYwpkki9SjijgXTPROSoYnqRrVA20SES0=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=ZGRWUVMptNjr6QxFaGQl30gRSfNTqtASAH+SZaln+ZUO6tXBXOhmpD8YD2Gq3w7U+ LFkgklrzHebFCsUmGcHbNH+SKxbRP0QC7/dQnD6hHF/k4o6nTbj5cFHXlF1hZnicdo /wiq1whaPYB98KhAmUAa4suo/ZYr5PBDg7EXxFX6RXYDGUPDRQVai5JSg7xpyn2n62 nUvfXLDAFvFKzt+HCBLzV4+iU9b/ST9ZaOC93dsiXo7gmSJS6vf3Ek0l5fUEUff00+ taAGlclSS59p/ebkYvXALmJzQgLUyN2FAZ7fLZy8lcCxMDluWFq5JwkJ1qnyotbvrZ BtZxo/2M0IVVQ== X-Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id B44333809A24; Thu, 26 Nov 2026 01:10:09 +0000 (UTC) X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <20261121203537.341320-1-kuniyu@google.com> X-Cc: davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, willemb@google.com, horms@kernel.org, joannelkoong@gmail.com, kuni1840@gmail.com, netdev@vger.kernel.org