Re: [PATCH net 2/2] selftests: tls: add a poll test for a queued KeyUpdate

From: Sabrina Dubroca

Date: Wed Nov 25 2026 - 11:40:35 EST


2026-11-18, 17:35:49 -0300, Felipe Pereira Stival via B4 Relay wrote:
> From: Felipe Pereira Stival <v0idpwn@xxxxxxxxx>
>
> Check that poll() reports a read event when a recv() for data has
> decrypted and queued a KeyUpdate. Once the KeyUpdate has been read,
> check that poll() doesn't report a record sent with the new key.
>
> Assisted-by: Claude:claude-fable-5-2
> Signed-off-by: Felipe Pereira Stival <v0idpwn@xxxxxxxxx>
> ---
> tools/testing/selftests/net/tls.c | 40 +++++++++++++++++++++++++++++++++++++++
> 1 file changed, 40 insertions(+)

Reviewed-by: Sabrina Dubroca <sd@xxxxxxxxxxxxxxx>

--
Sabrina