From: Stanislav Fomichev <sdf.kernel@gmail.com>
To: Breno Leitao <leitao@debian.org>
Cc: sdf@fomichev.me, "David S. Miller" <davem@davemloft.net>,
"Eric Dumazet" <edumazet@google.com>,
"Jakub Kicinski" <kuba@kernel.org>,
"Paolo Abeni" <pabeni@redhat.com>,
"Simon Horman" <horms@kernel.org>,
"Alexander Aring" <alex.aring@gmail.com>,
"Stefan Schmidt" <stefan@datenfreihafen.org>,
"Miquel Raynal" <miquel.raynal@bootlin.com>,
"Remi Denis-Courmont" <courmisch@gmail.com>,
"Rémi Denis-Courmont" <remi.denis-courmont@nokia.com>,
"John Fastabend" <john.fastabend@gmail.com>,
"Sabrina Dubroca" <sd@queasysnail.net>,
"Shuah Khan" <shuah@kernel.org>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-wpan@vger.kernel.org, linux-kselftest@vger.kernel.org,
kernel-team@meta.com, "Rémi Denis-Courmont" <remi@remlab.net>,
"Joe Damato" <joe@dama.to>
Subject: Re: [PATCH net-next v3 7/7] selftests: net: getsockopt_iter: cover rawv6, ieee802154, phonet and tls
Date: Mon, 27 Jul 2026 08:26:16 -0700 [thread overview]
Message-ID: <amd4ka3u1X80rQsZ@devvm7509.cco0.facebook.com> (raw)
In-Reply-To: <20260727-getsockopt_phase4-v3-7-e89627544639@debian.org>
On 07/27, Breno Leitao wrote:
> Add fixtures for the newly converted getsockopt leaves:
>
> - rawv6: IPV6_HDRINCL / IPV6_CHECKSUM int paths + a SOL_RAW
> unknown-optname case that reaches do_rawv6_getsockopt().
> - ieee802154: WPAN_WANTACK dgram int path + non-SOL_IEEE802154 level
> rejection.
> - phonet: PNPIPE_ENCAP pep int path + non-SOL_PNPIPE level
> rejection.
> - tls: TLS_TX_ZEROCOPY_RO, the TLS_TX crypto_info round-trip at
> the base and full cipher sizes, the NULL-optval and short
> buffer EINVAL paths, and an unknown optname. It skips when
> the kernel lacks TLS or AES-GCM.
>
> Each fixture pins the returned-length / errno semantics across exact,
> oversized and short buffers, an unknown optname and a bogus level. The
> semantics are unchanged by the sockopt_t conversion, so the tests pass
> both before and after the leaf conversions.
>
> Acked-by: Rémi Denis-Courmont <remi@remlab.net>
> Reviewed-by: Sabrina Dubroca <sd@queasysnail.net>
> Reviewed-by: Joe Damato <joe@dama.to>
> Signed-off-by: Breno Leitao <leitao@debian.org>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
next prev parent reply other threads:[~2026-07-27 15:27 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-27 10:06 [PATCH net-next v3 0/7] net: convert rawv6, ieee802154, phonet and tls getsockopt to sockopt_t Breno Leitao
2026-07-27 10:06 ` [PATCH net-next v3 1/7] ipv6: raw: drop unused level argument from do_rawv6_getsockopt Breno Leitao
2026-07-27 15:07 ` Stanislav Fomichev
2026-07-27 10:06 ` [PATCH net-next v3 2/7] ipv6: raw: convert do_rawv6_getsockopt to sockopt_t Breno Leitao
2026-07-27 15:24 ` Stanislav Fomichev
2026-07-27 10:06 ` [PATCH net-next v3 3/7] ieee802154: convert dgram getsockopt " Breno Leitao
2026-07-27 15:24 ` Stanislav Fomichev
2026-07-27 10:06 ` [PATCH net-next v3 4/7] phonet: pep: do not write beyond optlen in getsockopt Breno Leitao
2026-07-27 15:25 ` Stanislav Fomichev
2026-07-27 10:06 ` [PATCH net-next v3 5/7] phonet: pep: convert getsockopt to sockopt_t Breno Leitao
2026-07-27 15:25 ` Stanislav Fomichev
2026-07-27 10:06 ` [PATCH net-next v3 6/7] tls: " Breno Leitao
2026-07-27 15:25 ` Stanislav Fomichev
2026-07-27 10:06 ` [PATCH net-next v3 7/7] selftests: net: getsockopt_iter: cover rawv6, ieee802154, phonet and tls Breno Leitao
2026-07-27 15:26 ` Stanislav Fomichev [this message]
2026-07-27 23:16 ` Jakub Kicinski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=amd4ka3u1X80rQsZ@devvm7509.cco0.facebook.com \
--to=sdf.kernel@gmail.com \
--cc=alex.aring@gmail.com \
--cc=courmisch@gmail.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=joe@dama.to \
--cc=john.fastabend@gmail.com \
--cc=kernel-team@meta.com \
--cc=kuba@kernel.org \
--cc=leitao@debian.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-wpan@vger.kernel.org \
--cc=miquel.raynal@bootlin.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=remi.denis-courmont@nokia.com \
--cc=remi@remlab.net \
--cc=sd@queasysnail.net \
--cc=sdf@fomichev.me \
--cc=shuah@kernel.org \
--cc=stefan@datenfreihafen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.