Article View: linux.kernel.netdev
Article #15354Re: [PATCH net] selftests: net: cmsg_sender: retain the resolved address family
From: patchwork-bot+netdevbpf
Date: Thu, 12 Nov 2026 17:20
Date: Thu, 12 Nov 2026 17:20
26 lines
8831 bytes
8831 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Tue, 10 Nov 2026 03:39:18 +0000 you wrote:
> When neither -4 nor -6 is supplied, getaddrinfo() selects the socket
> family but opt.sock.family remains AF_UNSPEC. The cmsg and socket option
> helpers then take the IPv6 branch even for an IPv4 socket.
>
> For example, an IPv4 loopback packet sent with -l 11 arrived with the
> default TTL of 64 on the test host. Using -L 11 instead failed with
> ENOPROTOOPT because the tool tried IPV6_UNICAST_HOPS on an IPv4 socket.
> Explicit -4 works in both cases.
>
> [...]
Here is the summary with links:
- [net] selftests: net: cmsg_sender: retain the resolved address family
https://git.kernel.org/netdev/net-next/c/3e9089d1499a
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179450401327.546493.14902450577256522503.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!2.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-362061-linux-kernel-netdev=dewy.ruReferences:
<20261110033918.49238-1-xujingjing@cmss.chinamobile.com>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!2.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-362061-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] selftests: net: cmsg_sender: retain the resolved address family Date: Thu, 12 Nov 2026 17:20:13 +0000 Organization: Usenet Network Message-ID: <179450401327.546493.14902450577256522503.git-patchwork-notify@kernel.org> References: <20261110033918.49238-1-xujingjing@cmss.chinamobile.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="1150177"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:Gh1ltJ4IYJGzhzhiHcTUJ7Yb4dw= sha256:gsm4H4QfC4wOF1a+OWPvUfyQmIT9OXy+LpYAZMjD2m8= sha1:CBe2JZbxZ8NbHuKElrLKvTJT2Oc= sha256:dgY9GXB/ZCaWAe4KZJf4Olzcp5qj6k72kT5kBuW9pUE= 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 6FBD1114355; Thu, 12 Nov 2026 21:36:57 +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 SDHfuoBvmNRq; Thu, 12 Nov 2026 21:36:53 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-362061-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 537401142A3; Thu, 12 Nov 2026 21:36:44 +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 219EE66FF3; Thu, 12 Nov 2026 17:20:50 +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=1794504015; b=WucR1nowPzO12xRJ0R1D5hBiVguEx8cyc21D+PhC4cfzkgLuhkk/zTjiBLnk4ykHiaKO 5BAoKEBZtBKVtxqSxgX/GRoTRChxR3rhfkaFOpBh+jk25J5BeI4EOmchVHVlJ1FbzfK/S NOA7lKCOWdH8HWs0Aqie9C3o4YO48y1+yZbk3bXiYmgO/0iuzaZ/1uCTJkZ6lxxR31UD5 mQuKhnfEOq8iZroJqQ5YzRET3A9bmlcFyC0J/1y0S8lCJxr7z2xSnitW8QoYB3hVVn4pO gWaPnLdus9Jj73bUkr+zrpmnutkKzNz8I9/Lqi2+Z4+2WIH1p0r+7yAwjQsz5KA64tw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794504015; 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=vTbdWSIukequbF0VOAEctJY8oMpCkME4UJsCgP1DuTo=; b=mhf0u1dqAoC7AwNGwDLBja0NjXSErOU+XsBuxNnBhPjPd8nK516p0VJUR5xI7ZpdY5nG q/jwWRou/M3DNstEjWarve9A/oX8M3hLWxRI4iNXxvu2+zBAb/C06tX+cHJOF+DkCNwyj +69r6a114Uu0BYXufzU+GJDFh7ere/9hj6SJgdwj+fVFUknHm55TvBtMzjoQLL2O2404K AHJ3qQZGLQbGUg2XEY0cDdKmIzs1LUptgvG8Y3SEuQ0ApnWO3CkE/pyBPX11sUr2WA+N+ Ak0JfGSxhC0/1yw6ZMnlX/H3Yjtnhr8YJXd7CU1tzFcwgsL9JFEylkeBeewnAY0nA7Q== 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=Cp2QAtuM; 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 CD7DE60A260F; Thu, 12 Nov 2026 17:20:15 +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=Cp2QAtuM 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=1794504015; b=xgw8MlzZs9Q7FVAQIQ+mV0vVGytKGjSMUmchB6BrYCBLD0SiPlgV3n8kqe9OoY0iXUSf IhMvhJBntNIVaaRwlssU00Mib9Y0misQETD04VQNALdyqPF7qH6s6JzWpfjMX1pOVfAuY mL0Twvt3R5xme/G4Y6H6DyGWq950hyzVhGpO+NIRlTnnXyU9paBEldQR6M2AEtmwTvdia jyGLhm/auUDx0oVoSsg6PWzaRoqJhMvu9DH7iyahLcjXJAf8WNlA4J7v8DU6Oi7p7BTPa +W5aM2tG3X16mdMO5rZN/SRZKYGUZEHxxDCCNS7VihEc8yZXnFmAuCAmtvfvlpS+HzA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794504015; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=vTbdWSIukequbF0VOAEctJY8oMpCkME4UJsCgP1DuTo=; b=tN9AygWUFIAKZpARipX3AB0e0XnpTBb9hTiAdceSy5DSRJUgrOsO6LJKPPO8qBM8UJ1L 3Bn3Lv5JrphEvts38qaRydqfPKXn9G66MpL0/wVCqO0KAKV2/WkRP05iymTyg8zvvGiBi oZ92zRSRsSOQC6w1lfYT9u+eG7FBXIpLq5W7QASr92c4rVdYO4FBowBVqL8weGR6DicW1 LaSE8yMi/K2OltJoGrP16VyjLCgbNm7TB1YdUz52RF89V6YwWiynuvQm+8PEwcnaVwXA1 ls+Db3yuY0ZjLwV9fVetFngmzACprlD2pELT7ERictfsznsMCvIAJ0WLARkAm1g72+A== 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=Cp2QAtuM; 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 E80B260A2602; Thu, 12 Nov 2026 17:20:14 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id BEBEF1F000CB; Thu, 12 Nov 2026 17:20:14 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794504014; bh=vTbdWSIukequbF0VOAEctJY8oMpCkME4UJsCgP1DuTo=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=Cp2QAtuM0x7Wi90hArhg5OjnZMuWdy9ZYpPNx89NesDpyqOOMA0V2AqTp3BcuNE1L UqLTOcu4ets+vDvPBZLdWL+cq4e+bPAaklOx1dY9sVP5BKpTgPPVoR9XMKaevlcMsc N5/T9VqT/5hOWIOVkPpBhQAuNZ+ogXPN6urMBLMZh0HiOEnUG6uLA1DbMpfYf43u1n AOb7g2e22GWOamg9jAbMt0UEKiADRfBqUHUGDQbP9lXQG+3GUkwSC2/lKjO1+V0ctk JLuqQtZtgtYJ/E/XnGao2wl2XufYrX6q3lO5nuoqIyEbZwG1V2nqxXe29oHw/uCxLA 4xB4vLSk3oJWQ== 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 B4483380AA78; Thu, 12 Nov 2026 17:20:14 +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: <20261110033918.49238-1-xujingjing@cmss.chinamobile.com> X-Cc: netdev@vger.kernel.org, willemb@google.com, kuba@kernel.org, shuah@kernel.org, linux-kselftest@vger.kernel.org, davem@davemloft.net, edumazet@kernel.org, pabeni@redhat.com, horms@kernel.org X-Received-Bytes: 8546