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

From: patchwork-bot+netdevbpf

Date: Fri Nov 06 2026 - 14:51:35 EST


Hello:

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

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