🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #10642

Re: [PATCH net] ipv6: fix device binding after failed datagram connect

#10642
From: patchwork-bot+netdevbpf
Date: Tue, 03 Nov 2026 21:20
27 lines
8850 bytes
Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Thu, 29 Oct 2026 21:58:22 +0800 you wrote:
> __ip6_datagram_connect() can change sk_bound_dev_if when connecting to
> an address that needs a scope ID. If ip6_datagram_dst_update() fails,
> the old peer address and port are restored, but the new device binding
> is left behind.
> 
> A UDP socket can then keep reporting its original peer while sends and
> attempts to reconnect to that peer fail with ENETUNREACH. Replies to the
> socket are also dropped by the device match. The same problem occurs
> when a scoped multicast destination picks up np->mcast_oif.
> 
> [...]

Here is the summary with links:
  - [net] ipv6: fix device binding after failed datagram connect
    https://git.kernel.org/netdev/net/c/bc53aab4881a

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179374081204.1885738.206457161503439442.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355981-linux-kernel-netdev=dewy.ru
References: <20261029135822.448299-1-yanxia@cmss.chinamobile.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355981-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] ipv6: fix device binding after failed datagram
 connect
Date: Tue, 03 Nov 2026 21:20:12 +0000
Organization: Usenet Network
Message-ID: <179374081204.1885738.206457161503439442.git-patchwork-notify@kernel.org>
References: <20261029135822.448299-1-yanxia@cmss.chinamobile.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3264679"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:tXKjONiGL+fGkO2XoiVsveL1jBw= sha256:QXkUtis5quRYnnzXNTq/KrO1fSJo5sphMohSImeY5LM=
	sha1:MFItZ3eYHY9ayivikfYAbpwSKWs= sha256:fVU1oIfhfDp6S6Iu6wIPqPUo+0onul7yb/DgCMtSj2E=
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 0E253112A13; Wed,  4 Nov 2026 00:26:32 +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 EgYcA4kTrzqY;
	Wed,  4 Nov 2026 00:26:28 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-355981-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id B512C1129ED; Wed,  4 Nov 2026 00:26:19 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 0D2AD2B51A; Tue,  3 Nov 2026 21:20:32 +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=1793740824;
	b=tctQ1qtlFKJfPHSgJDlKDC74QCiqyrzCFfCd6/RdRbcO3HqF1bnpO9o+mKKSB+/BIDPY
	 TTLfgAxJWspyEKjVLGHeCf4fxCCrf7FA/aZlHcuNm1V576o0zfF9zzDRAAvxStyOvjdqs
	 QAIpb3wfvXGXlW/9cBGwZfys1bOX6PmFEKntprK6bdbi4uXM4XWedd4Q4ZKdE4GS4S5Ai
	 g4zs/IgxTBYwRcFGX152PlzTQwpt7/rLNbxANmd16wyLcZ1dUol6DN5I2w/Kh86u+1lfz
	 aEurIqQyuuic+adlu/6Y2e1JyrH5R1f8nsTi138w3Ck7eHUpuR9hlcujsnxd5TwUKeQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793740824;
	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=Cc2iVEQpQJW4KLsTKA8podEQySXEWAU58+noOxhAGL0=;
	b=L1qBXsVW2ixeonUTwy6hy37rCFgOQwr5CHXUmdK54fA9EjWx5iuAWl+PLx+yjL2Vn4hd
	 7IvAlXngn8dYyEH+6CpMyjCynofhHNBHXO1CuoZlBux36jTcLbi2ntgzGZUyBchiNQkYe
	 Hraja8w+LyHmEfShYxfqFFnkVO9lnojuOxQ2x0PgcUxOAcI7hxNkQC4lomhzi0WFE/UE+
	 nZlB/IHgtYyiT3ZJMkWVZF2Q75rTaj6crYk24/XVhJNSufqaua9EgkNmRJcYrEulmZcqA
	 iYu0G9WFKsa2W3ZEAYTsVoqj4xBHZW99Ciaca7bPBTN7tmGinCb0g8EcttmzMYc7FFw==
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=T7YEvj15;
	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 D45CF606A33D;
	Tue,  3 Nov 2026 21:20:24 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=T7YEvj15
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=1793740814;
	b=g/gKctKQhnCP29tds4WENmHbE5hFnbpRxk/ggae/vCHknNqICdGH2Qm3qZ1uA4gac6o0
	 zF+Nqr57zEBgvcfylpv/8JuxxLi2oLCpnHF6rtn4FRc/OImB7aF7s4dV6QxA7po7EDqEq
	 jv+icfHf98GfkROVd329r5gk9rK7lu+zZEW3csEGNlp4Wf5OdqQSSOFtxELSfXvlJVrES
	 rJn7YiLSzlfK4U++BEH6fEtxIEWsMJn3KET8lcvbFDQypkdI0Ny7p81v21anFTSZIJPQ/
	 nUij1kjJK0zec7BghBsbwSCbMDFO3QhynlbKlavQcGmU+nt5v2RxqNyq4CSbGErPFTg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793740814;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=Cc2iVEQpQJW4KLsTKA8podEQySXEWAU58+noOxhAGL0=;
	b=TE8SNs2QEvqtG6wsb0c0Wz2F/fCl6zXJhLzY79p4wpj0vOmIfiAZPq34PnV4tJSK5T8w
	 fdRj6Wv78+oKQhBfQ8CWZkHI3U7d2bh4rdwIMaygNQVWRUVK5SiCmiK3mw5w1AuCTw5tD
	 ycdiC+0YHNXiL1Sl0BywaUbvMxz402KE3KibOJo8dkALU/Ve7NaBqt9dD0xO0jgB060XT
	 0P5g97yEmIz6XHo4NQby3K3+anSB+GIdTrDlZWD9Xi0Gt0lPztkanAu6byIb3tcDsGz46
	 Q1btH+GmTqX8ub7GoO2xKpZgHGZPmJrkqdtjl3mwBfl0JIQGZRUb9+HAcauSFMjXsGA==
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=T7YEvj15;
	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 B0C4B606A31B;
	Tue,  3 Nov 2026 21:20:13 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 88D181F000C1;
	Tue,  3 Nov 2026 21:20:13 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793740813;
	bh=Cc2iVEQpQJW4KLsTKA8podEQySXEWAU58+noOxhAGL0=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=T7YEvj152cyitGbQQzBDunWm0wQoXuf7hoRcqpIF0rboWwUMIzwctHdk7XAoDTG7u
	 zfhIgolpJlqFRoaNBxjy5RyjjfTaGG0v1oISmH5ZYiIdzKe2v/NxNWudpYz0Fmgmsp
	 8kTkd2E7pJaZftWzb+2B1Po+EPHJjNFEBo7S3WZNYGA0UAcmV4e+32tNlr1ejR7j/p
	 0IbqhFPOmvuO/nXfP4nn89YogLmg21VeE1BpiI6eH9YLbaYSxNjSgxZTgYGXRBbTyu
	 2IqT3oxrvSI026DNzxz/T+fKh7c3pN4F3yDt51cJXjf3iJnFfqYAELLK+swBemLL0W
	 KA05ACvfBGoyA==
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 7D20D391B0A1;
	Tue,  3 Nov 2026 21:20:13 +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: <20261029135822.448299-1-yanxia@cmss.chinamobile.com>
X-Cc: netdev@vger.kernel.org, davem@davemloft.net, edumazet@kernel.org,
 kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, tpluszz77@gmail.com,
 linux-kernel@vger.kernel.org, stable@vger.kernel.org, yana06070@163.com