🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #14343

Re: [PATCH net] udp: do not use a cross-family sk_rx_dst in early demux

#14343
From: patchwork-bot+netdevbpf
Date: Wed, 11 Nov 2026 00:50
26 lines
8812 bytes
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Fri,  6 Nov 2026 12:01:35 +0100 you wrote:
> A dual-stack UDP socket connected to a v4-mapped address can receive
> both IPv4 packets and IPv6 packets using v4-mapped addresses:
> ip6_rcv_core() no longer rejects a v4-mapped source since commit
> dcc32f4f183a ("ipv6: weaken the v4mapped source check"), which kept
> that check only in tcp_v6_conn_request(). ipv6_portaddr_hash() hashes
> v4-mapped addresses like IPv4 ones, so both early demux handlers find
> the socket, and both __udp4_lib_rcv() and __udp6_lib_rcv() store their
> input dst in the same sk->sk_rx_dst.
> 
> [...]

Here is the summary with links:
  - [net] udp: do not use a cross-family sk_rx_dst in early demux
    https://git.kernel.org/netdev/net/c/5636e6732056

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179435820942.142717.2777369707623922209.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.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-360780-linux-kernel-netdev=dewy.ru
References: <20261106110135.2161204-1-edumazet@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.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-360780-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] udp: do not use a cross-family sk_rx_dst in early
 demux
Date: Wed, 11 Nov 2026 00:50:09 +0000
Organization: Usenet Network
Message-ID: <179435820942.142717.2777369707623922209.git-patchwork-notify@kernel.org>
References: <20261106110135.2161204-1-edumazet@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="742388"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Zl5xfJr8gi4ostFsJKxad8BlGHM= sha256:+0WHbuoxaN6W5B4r0eCPdFdX5yBERlGeIUt5EVSKdOc=
	sha1:yo0/zTgNvk8Ml+kVNdtmRC+tXaU= sha256:kb4YRxsxoPanD4XnowebZp+8hurypFxmuUW4jWh3eFM=
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 EA9D5113DE6; Wed, 11 Nov 2026 03:50:48 +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 IMrZMNQg6N6I;
	Wed, 11 Nov 2026 03:50:45 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-360780-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 2A699113DD8; Wed, 11 Nov 2026 03:50:36 +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 67F8980B55; Wed, 11 Nov 2026 00:50:19 +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=1794358212;
	b=BTvAcch6cR1aca1uhYo07ugWu6BHoyDn3RNbB5HEhkWl34U4+WwjJhwNsexWgBPEINnj
	 kr+W9qikyLikA1b8O6I4W98x4kZelSdKQ/twhdQDJpvPt66io45dQlbb8Q4JDt78zpMzb
	 HC3rPnTKMYe73znuD0o68KHMhXremsSK82LC49f96U/m1V5uXHS56oo38S3yPHrCNoFlB
	 tOLJ2CcXkPmRvkcZwOmNyX9RFvHE/aiAlpEMV5pYFqxYMtoi6dMov+qHl53s5YZokuZZ2
	 rFmVCn4MOpjounKYjJ2L1NyhPcCbgnftfvRGZAg4LhLQB6ayxWBPEvueUGomfQjcMNA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794358212;
	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=kux+ABqdhO5dUm+XjTZIOe7W5RzoPjOxZ45yGPbU5vU=;
	b=ferZiv2jzROyAU4T7S0tglVeqSxt34wmunXr7djTriBcWYK9JStWjRCYZv/GLbslQmcU
	 CAdqaQOD3scK6g0Iof2Y2tldNR8dAW1t6PCgsSLmBYR6zT+zL3h9BHO9tgzx9sAAJFj6h
	 ybBkRmtqdSZMcBsiwxBWIqNA0Y21rBvlPmBjLvjIPVP0Bm0jZeowrHORKkFpHBYU1TFJB
	 ighdRYQrR8t847W3w6BUYK5E3EbCIgujFCWFRn1gAUoZfA1RY1Ie21ZORY33r2JM97QTP
	 HU/kFMZ0UxiTCa0QZdbNfeQu2gYfMmJaqhQF/WJNU9nbpk5FEL38IR5x9BYs30q8ICw==
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=UVSgSCLU;
	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 E9A2A60A2610;
	Wed, 11 Nov 2026 00:50: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=UVSgSCLU
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=1794358211;
	b=OCsP/nKKemlY0gZWH9Wutcu2A0TJc67p5PFiOGQsJy/IDsVYr884Vq987OmeGWjzxAhN
	 7RFOxc40o9VmG06vIBB1VYUSy52d5WBe6bcMtUezjAnXXT7L86MzA9ZAxhqqlkTSCGAY+
	 OBIjSf5u8TUq1yrYeklBDzyxTYa6oI3jCZ9Vk180JptKm5XJ4GWKeIXhkVzNWUfiqDDJy
	 +BrPROFpcZx0PwH/fUnSbwPBEBjrzlOissPqr5FRT/uzECj5CCOeH/536GP3eRPaWuKUH
	 O1qPuMwR+UvwNvLAjuQAaYwgSAg4hCbrTyh+kNodYezmqwVWNCRV0o7Tbgm3k7n/AhA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794358211;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=kux+ABqdhO5dUm+XjTZIOe7W5RzoPjOxZ45yGPbU5vU=;
	b=QMdRqGrlZZgDvoBcDlXqVV+40J5uoh4qjgRn57uTacW1pxhAjx5bcENurIqNOghG2w9M
	 nyXLJqU09U3PUIa+rtpSF5b+EmoLtDu0z2Y/ajeUd7oNm0H+RmvWd6/ruxTk8WruMdFsQ
	 1odOBu/KsUa6xODiSVg45X/dt6Qnl5do/uq/0M3UNagIODBvHFwt+kzcqUkTju9BdGw65
	 FKalofxCJQrFo2jn00UdBTYsAVmZ2OtGO1VtGfERg9hsijEtzBbwWM4B/OPjmCL2hUg0G
	 5ucDff22SfVpefCeQWTSvZRgwULKQloIJIOo9ET57Yg8nKg+0T26rXYsh3g6UUEWbCQ==
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=UVSgSCLU;
	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 17461606A337
	for <netdev@vger.kernel.org>; Wed, 11 Nov 2026 00:50:11 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id E385F1F00A08;
	Wed, 11 Nov 2026 00:50:10 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794358210;
	bh=kux+ABqdhO5dUm+XjTZIOe7W5RzoPjOxZ45yGPbU5vU=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=UVSgSCLUV4Re6U+qmzo/Re2fj42Bxs/+6dNhI0LKUhd5eMSoIQy+2Vui1YncFL9na
	 VUSNdsrYP6/YWyilUPkxqacn0v6e+Oxqj/sg/HiapkQJK6SUR5a5j9MMcW2vwQZjRL
	 FDtjb502VkTJ17cImg7ABfdzVExmYgix8yniGKC6yHl7vwM8YIYgLq9exQeg5vVB2w
	 hytMXsWjPG5hmIty+/19I/HvXIwim7kLk9SrF/XOiHMmDWgFA6PfSEp7x0T9i3Go2E
	 2wwi5nO+gqARVFSNgU+MFmUNG5I1sEcJzSHV0b4HtihJkXxG8KBriS7GPdniTxUZn1
	 TCo68zyVDotpQ==
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 D817339E8A55;
	Wed, 11 Nov 2026 00:50:10 +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: <20261106110135.2161204-1-edumazet@kernel.org>
X-Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com,
 kuniyu@google.com, willemb@google.com, horms@kernel.org,
 netdev@vger.kernel.org