🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #12287

Re: [PATCH net-next v4 0/7] ipv4,ipv6: convert the getsockopt switches to sockopt_t

#12287
From: patchwork-bot+netdevbpf
Date: Fri, 06 Nov 2026 19:50
40 lines
10074 bytes
Hello:

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

On Tue, 03 Nov 2026 03:00:59 -0800 you wrote:
> This series continues the migration to sockopt_t, as described in [1].
> do_ip_getsockopt() and do_ipv6_getsockopt() still take a sockptr_t pair,
> and everything they forward to now takes a sockopt_t, so convert them
> both.
> 
> Patch 1 settles what a negative optlen means on SOL_IPV6 before the
> conversion makes it matter. do_ip_getsockopt() rejects it, but
> do_ipv6_getsockopt() never has, and the int options answer it as 4.
> Treat it as 4, as David Laight suggested, instead of failing callers
> that rely on it.
> 
> [...]

Here is the summary with links:
  - [net-next,v4,1/7] ipv6: treat a negative optlen as 4 in do_ipv6_getsockopt()
    https://git.kernel.org/netdev/net-next/c/61270b859fb5
  - [net-next,v4,2/7] net: cap sockopt_expand_out() at MAX_RW_COUNT
    https://git.kernel.org/netdev/net-next/c/6de30bde94b3
  - [net-next,v4,3/7] ipv6: mcast: convert ip6_mc_msfget() to sockopt_t
    https://git.kernel.org/netdev/net-next/c/11762c7f2191
  - [net-next,v4,4/7] ipv4: igmp: convert ip_mc_gsfget() to sockopt_t
    https://git.kernel.org/netdev/net-next/c/d845b553c6dc
  - [net-next,v4,5/7] ipv4: convert do_ip_getsockopt() to sockopt_t
    https://git.kernel.org/netdev/net-next/c/67582bdf5349
  - [net-next,v4,6/7] ipv6: convert do_ipv6_getsockopt() to sockopt_t
    https://git.kernel.org/netdev/net-next/c/52f243f4ff04
  - [net-next,v4,7/7] selftests: net: getsockopt_iter: cover ip and ipv6
    https://git.kernel.org/netdev/net-next/c/47e7aaf680a4

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179399460817.837391.9013486741760659942.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-358138-linux-kernel-netdev=dewy.ru
References: <20261103-sockopt_expand_out_v2-v4-0-2d36da923578@debian.org>

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-358138-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v4 0/7] ipv4,ipv6: convert the getsockopt
 switches
 to sockopt_t
Date: Fri, 06 Nov 2026 19:50:08 +0000
Organization: Usenet Network
Message-ID: <179399460817.837391.9013486741760659942.git-patchwork-notify@kernel.org>
References: <20261103-sockopt_expand_out_v2-v4-0-2d36da923578@debian.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3961656"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Z7JWPs807N+ocakh/siCRgdypSI= sha256:SM60WuuaSNyvwv1EfoLMdj8gn3xP8NSKLc/2KAzfqf0=
	sha1:s0M5423028RGGkSNJ+6KZQyYu4M= sha256:3SrkhTowmSpHL17xiMYlgjDRX44lP1P06LKa/p5v1E0=
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 40CE9113303; Fri,  6 Nov 2026 22:51:37 +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 I0vMl2T7FukL;
	Fri,  6 Nov 2026 22:51:32 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-358138-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 778991132F2; Fri,  6 Nov 2026 22:51:23 +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 63B0E3723A; Fri,  6 Nov 2026 19:50:16 +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=1793994616;
	b=Towwz2sC0nS9sdv2vBjpOMGUFYwiGCd9KPRiS664gG+NBua+7XgCNUimCcWbYfsc3yql
	 plnPhhjpb0EUo/+MSUkPehpejzhaDHQxcId7y7gLIuR7DFzQFBEx29Q5znjqNGIOL/2yr
	 M/VzS8zX0FG7Gcv9jQzKnvDJ/OC4gqHBzkkdxxUIONhngtPIB4vONkeJ2xktcUFkOEiZ4
	 2oPNg2+vJMHUkyMqkRmF0ajmYKQXZL0jSWAntJdrdJlsba7ZrceyuTgJuM4DGdXs9pv9m
	 U1D9zhj7zxkvFdStICu4qs9oqAJ/1pSbE7RzsnsemDg83Vv8hWzZOQ11GEx3pvBWJLQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793994616;
	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=G7DBE2G+tp6095Q25BTCpcOqibBp5M5QObNMDI8L5dY=;
	b=N9yw7xfZheXM2H2sZzejxJP7TfCpwIjVHJWrW7EZEfwJOxoApmKq4snaHPxwhKy4o4N1
	 D/rOGCCQGkxqA9K6l7zLDGtkNNj5+jSmX8anqn9oPcrA1Ud2nu9LPJYEvhkY+nfyxVP0E
	 Ex039iDLqHLxD6exSKTZHEtCvNy+x4qjFPmBbFmtSd2xPaYiV1r1tmcA1vJanDXQy+p4s
	 45pi7VJMI/tgiMDdsvnPS5vSm3VdmQBi1wOPJKvHcEEwrvNRnUmLWSSvMapn5PxpbTafu
	 r3pcbA03dH4tlZpTVkVy8HPc3lG9zerS33qQxCk7vY3NQwqz29M/YkXqGidO6Zd6ZlA==
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=ZEZsYvGi;
	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 E09B3606A32F;
	Fri,  6 Nov 2026 19:50:15 +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=ZEZsYvGi
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=1793994610;
	b=miOkmavpJNGMTH09+MTRzT2gTR31QEVRXZjOYG7l0E3/H95Fc2eo5HRp0BfajpnN1OJV
	 PNbaPMh0g8I9Dhu81/QxJ14bFEPDnqT5CZe1JfTexpzhkRUgr82aIgQtCmXt/g1RDMPy6
	 8zM1lZ8McsjaonNBBtNDWvwLqHFPHZGo3TfWZEHCtLpQEmqs5mQXgY00RaLNbHRFn7mG9
	 yjNTykyFVmRtAC6LsWDYWeRqCnaTbP/nGejSaRRIIAAYdbTyU0rORb0lDsxvlhxeKJpM5
	 pvr4h6nVH6ik2RkcDdQUlxJm+VKgEM9JWcRp10pvxoqsLjjLmM+gTn3NHEmI4xqG9cQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793994610;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=G7DBE2G+tp6095Q25BTCpcOqibBp5M5QObNMDI8L5dY=;
	b=M9R4BfJVD4EAsdBhQ5+I7PPFbaLHm/FKUfE0wTeXxFCSbebWTt46UMcucNRNjKR/+GNV
	 IWI+Pu1RYWmdWLes8DPHD9Ch0zm8MtxuLsk7PSXyXFjtN1bcoGMRX3WMZ7nLcrpEBmZTn
	 GcTbA+ccESPTjCiBoytWVTUdaTG+x5iWvBR1DKOXYxE3AvJb28wOiIh/8v7f7/muRIDZn
	 k0Dgr6YKBK1mGgJarWMstTJptTUMlhBz6IgdUoAT8RJBGwBq6owldoSiG273YEkjOLP7i
	 fjhmwKSGdeIye+asWlmVBbho9Yp3wOLocbRQEvz/64YxyS0nUmR4ugyGVcvA0Y5ythQ==
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=ZEZsYvGi;
	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 BDDC6606A326;
	Fri,  6 Nov 2026 19:50:09 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 67E431F008A1;
	Fri,  6 Nov 2026 19:50:09 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793994609;
	bh=G7DBE2G+tp6095Q25BTCpcOqibBp5M5QObNMDI8L5dY=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=ZEZsYvGihbEJSqiy5PwNDboHV1Tw/K6ieI2fJaAAULouPFRsYWnmpa4it8X25xZ8S
	 2aiC/tbjjNe8e/OUbO7upWeY8xxA+7sF+yRy/aRDo2esfoaxozm/hkfFnfcLSQkLAE
	 H2k9sCEOYfUMmNJ3F6Rz9svEOc4vr5zPAG8b5/4xraxC3r9fd9PGkcWGJhw1zGQtxf
	 ka22+ax8crgHChENNY02W2KTthHR5tUMaeunjtuLhtqWs5BN4NxF4EooN53UoTUJzV
	 2mFyWKT9hqiiUaO9Pjw5I5k/rMDTJSWu7YTxH1a5Exrbum/fE7nyR2lUIhJX/roUhe
	 ylzvb2I+Sw0Gw==
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 5E1473A41038;
	Fri,  6 Nov 2026 19:50: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: <20261103-sockopt_expand_out_v2-v4-0-2d36da923578@debian.org>
X-Cc: dsahern@kernel.org, idosch@nvidia.com, davem@davemloft.net,
 kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, ast@kernel.org,
 daniel@iogearbox.net, andrii@kernel.org, eddyz87@gmail.com, memxor@gmail.com,
 martin.lau@linux.dev, song@kernel.org, yonghong.song@linux.dev,
 jolsa@kernel.org, emil@etsalapatis.com, ihor.solodrai@linux.dev,
 john.fastabend@gmail.com, sdf@fomichev.me, shuah@kernel.org,
 edumazet@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
 bpf@vger.kernel.org, linux-kselftest@vger.kernel.org,
 david.laight.linux@gmail.com, kernel-team@meta.com