Re: [PATCH net-next 7/7] selftests: net: getsock opt_iter: cover rawv6, ieee802154, phonet and tls

RĂ©mi Denis-Courmont <[email protected]> Fri, 17 Jul 2026 09:53:22 +0300
Newsgroups org.kernel.vger.linux-wpan,org.kernel.vger.linux-kernel,org.kernel.vger.linux-kselftest,org.kernel.vger.netdev
Message-ID <[email protected]>

Le 16 juillet 2026 16:00:05 GMT+03:00, Breno Leitao <leitao@debian=2Eorg> =
a =C3=A9crit :
>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()=
=2E
>  - ieee802154: WPAN_WANTACK dgram int path + non-SOL_IEEE802154 level
>                rejection=2E
>  - phonet:     PNPIPE_ENCAP pep int path + non-SOL_PNPIPE level
>                rejection=2E
>  - 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=2E It skips w=
hen
>                the kernel lacks TLS or AES-GCM=2E
>
>Each fixture pins the returned-length / errno semantics across exact,
>oversized and short buffers, an unknown optname and a bogus level=2E The
>semantics are unchanged by the sockopt_t conversion, so the tests pass
>both before and after the leaf conversions=2E
>
>Signed-off-by: Breno Leitao <leitao@debian=2Eorg>

Acked-by: R=C3=A9mi Denis-Courmont <remi@remlab=2Enet>