Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=51.250.56.165 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796195947; b=d96oCo2Ov3MYegL73dnOvZKdERBAXfNR9ztP+/sp+LbH+zVmk0rFLepdAYVxw8PfgT18 sZqIKxBe973msgi6rg0Yu/DP33pYyASzx2xD3+jD2Bg7IB8CPn1KfJzKnvaZ65AvBwhHL ubqv7UDnvAUjg7W7gTenS3kwY7meR9fN9z4J5/F8f7RSAYeeEVUjqwwJskpko0U/+oLrh CNgCHAOAKC6SzUd39+/77RMdYiQ442N4AZKBwEmO9pBYVMJj304ivz1sawKWodCgVuwEU pMf/AV1Z2tFuubFKTdxsGUeQTZz207Z/gP/ej+NyeSCfRKVgGgF5h7U+YeCQo2Xt6Kw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796195947; h=DMARC-Filter:Received:Received:DKIM-Filter:DKIM-Signature:From:To:Cc: Subject:Date:Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding; bh=wJnBbgTao1lfFvk0/hrLp5cuTFDLmHOcJRj+TcedRXc=; b=M8d3kC4nXMxvS1aSjmVhL+PtwPJveWjBxXUhn+zwbdrGmR+Kpg6H26k8fmIRfLLQQLrq 8RPT+m32N6UNRYMg1gfRy+cQ8u9GHFLVOQWAKrJfd4Vw5VY5GMqoJGJZ2cXQxThf4eJgm LYBRpz4Wz/34PX/LP9NMvTSEfowaH1b+I8VUAawNj57Bao+WWWatce13dAYHpGvI42ABL xbyNWhzqDdIcpaFc7xMWrCl5TY+UNFW+Nhd+Z4lbZHW+CHk/0+G6RZoPyYYloQ5Qo18NA BVwG3c+4u8+pjv8zMDRiKQEndrgi5mhIdjoiKg5zeG0pUpQqwtLAjKbTTj01l5m38Gg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=ideco.ru; spf=pass smtp.mailfrom=ideco.ru; dkim=pass header.d=ideco.ru header.i=@ideco.ru header.a=rsa-sha256 header.s=ics header.b=LmCSNzKS; arc=none smtp.remote-ip=51.250.56.165 Received: from smtp.ideco.ru (smtp.ideco.ru [51.250.56.165]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E0005606A31A for ; Wed, 2 Dec 2026 07:19:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E0005606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=ideco.ru Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideco.ru Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=ideco.ru header.i=@ideco.ru header.a=rsa-sha256 header.s=ics header.b=LmCSNzKS Received: from [169.254.254.254] (localhost [127.0.0.1]) by smtp.ideco.ru (Postfix) with ESMTP id E672B203B652; Wed, 02 Dec 2026 12:19:02 +0500 (+05) Received: from home.mcr.net (unknown [5.165.224.75]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.ideco.ru (Postfix) with ESMTPSA id 7F5F8202ABF0; Wed, 02 Dec 2026 12:18:44 +0500 (+05) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.ideco.ru 7F5F8202ABF0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ideco.ru; s=ics; t=1796195938; bh=wJnBbgTao1lfFvk0/hrLp5cuTFDLmHOcJRj+TcedRXc=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=LmCSNzKSl7ySq0mdDsUw1E26zqPNK2kMVymzPaxIkdpg5ZR8tW6n6lgAA6GYyaPsm 1vkup7tuQSBgMGGTY0FT4dwxPas6zvWXPa3aSQ4zk2rap/HV/3wVlGrZhm4LDnQgCf 4RAyOpqlbsOCD15UZ0DyyhGSBnzbxIboR5NEFCckSsaLE+ktngYbxCOHc04zo3VK4e JWbJk/ZoBN9nk9KI3DLCgp2zHHJB9nQ0X7kUchjkLT5X7Z6kilMe2wIf5wE0zy0WeO nYRAsZqpgmS2skoPdaREntvrm5/jpYYGjn6hbZ5mnstkPtZ0aP/o5GrDBDq16oaCtP 8nUW+5gY4qcuw== From: Andrey Mokrushin To: Sasha Levin , Sabrina Dubroca Cc: stable@vger.kernel.org, "David S . Miller" , lvc-project@linuxtesting.org Subject: Re: [PATCH 6.12.y 1/2] selftests: tls: add rekey tests Date: Wed, 2 Dec 2026 12:18:22 +0500 Message-ID: <20261202071822.55809-1-a.mokrushin@ideco.ru> X-Mailer: git-send-email 2.56.1 In-Reply-To: References: X-Mailing-List: stable@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi Sasha, Sabrina, The rekey tests that were dropped here in August came back with the regular stable review series in October and are now in released trees: 6.12.114: eaf1f4a5c38a ("selftests: tls: add rekey tests") 3c4e21b1bf8e ("tls: rx: restore msg_iter before TLS 1.3 optimistic retry") 6.1.191: 3f8dd7ae7c7b ("selftests: tls: add getsockopt test") d3bc6e6e2b20 ("selftests: tls: add test with a partially invalid iov") ef46eb4622d2 ("selftests: tls: add rekey tests") 97004f3c1737 ("tls: rx: restore msg_iter before TLS 1.3 optimistic retry") 6.6.160 seems to have the same patches according to the 6.6 review series, but I have not checked that tree. As you expected, tools/testing/selftests/net/tls.c does not build on 6.12.120 and 6.1.193: error: too many arguments to function 'tls_crypto_info_init' On 6.1 it also fails to link because __test_passed() is missing. To see the runtime result, I applied b2e584aa3c71 (on 6.1 I also replaced __test_passed(_metadata) with _metadata->passed) and ran the test in QEMU on 6.12.118 and 6.1.192 based kernels. Every rekey test fails for all TLS 1.3 variants, as do tls_basic.rekey_rx and rekey_tx (58 failures on 6.12). This is expected, as these kernels have no rekey support; the tests should not be in these trees. recvmsg_nopad_retry_iov, the test added with the retry fix, passes on both. The remaining failures are unrelated: ciphers not enabled in my 6.1 config, and timeouts of the aria multiproc tests on a debug kernel. Note that recvmsg_nopad_retry_iov also calls tls_crypto_info_init() with four arguments, so reverting only the rekey tests will not fix the build. I see two options for 6.1.y and 6.12.y (and probably 6.6.y): 1. take b2e584aa3c71 and remove the rekey tests; 2. revert the rekey tests and change recvmsg_nopad_retry_iov to use the three-argument tls_crypto_info_init(). The retry fix and its test stay in both cases. I can send patches for the option you prefer. I used an AI coding assistant (Claude Code) to investigate and run the tests; I checked the results myself. Thanks, Andrey