From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B6D992D5A14; Mon, 27 Oct 2025 19:12:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761592379; cv=none; b=ln9TKIt5zk6K/Pyqn2gQNq+UKVZBAqmGmXOy38hWzRFvxMIfeWl95DIw0IXJOWIM/d6utxDwudPV0f8tv7a/kQzypJvdn6RQCl+lZDNMeAikzjyhuFQQ/cGMlwLyKY9oohDks7742HmZwWn6OxBQGw0IRZ2E3Xy6aUVfi97AsNk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761592379; c=relaxed/simple; bh=nj3yxv5viiaNE7KjZrZob+dJcSSpTSH0Pu0SCrX/+Nc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=IysYaoFD4icZ/SwnjY1mSTkXUoLJ1a0tLJLCMkbpAQu2Ar15pdvZQUHucorFCQn7cd4LG23gTvj/r5XZrlrfv7Siva1viLplKCOwCFLbDNC8e7XQMQ7aWTy6ta92RhPPx5gxhaKF0VnwIlXg0pEZ/SUZ8F8NEKOGDulMvj9Xsuw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=e6uHzOGP; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="e6uHzOGP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E69D9C4CEF1; Mon, 27 Oct 2025 19:12:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1761592379; bh=nj3yxv5viiaNE7KjZrZob+dJcSSpTSH0Pu0SCrX/+Nc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=e6uHzOGP4fvPjDVggBz51vEtUzHPYiNzJWTMLI5rOH4cCF/rkOJVMDoscUHOciXa7 oQN9hEdBcaPNThFUEuIM09J1meAsTyv35ej8BEdqvfOpeegEQo9yJHkoaa8q8fSC5P WsF73s7rS0BaohT2ETFxxYPgdpC+bDhCY0+GckbQ= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Geliang Tang , "Matthieu Baerts (NGI0)" , Jakub Kicinski Subject: [PATCH 6.1 098/157] selftests: mptcp: join: mark flush re-add as skipped if not supported Date: Mon, 27 Oct 2025 19:35:59 +0100 Message-ID: <20251027183503.895462857@linuxfoundation.org> X-Mailer: git-send-email 2.51.1 In-Reply-To: <20251027183501.227243846@linuxfoundation.org> References: <20251027183501.227243846@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Matthieu Baerts (NGI0) commit d68460bc31f9c8c6fc81fbb56ec952bec18409f1 upstream. The call to 'continue_if' was missing: it properly marks a subtest as 'skipped' if the attached condition is not valid. Without that, the test is wrongly marked as passed on older kernels. Fixes: e06959e9eebd ("selftests: mptcp: join: test for flush/re-add endpoints") Cc: stable@vger.kernel.org Reviewed-by: Geliang Tang Signed-off-by: Matthieu Baerts (NGI0) Link: https://patch.msgid.link/20251020-net-mptcp-c-flag-late-add-addr-v1-2-8207030cb0e8@kernel.org Signed-off-by: Jakub Kicinski Signed-off-by: Greg Kroah-Hartman --- tools/testing/selftests/net/mptcp/mptcp_join.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/tools/testing/selftests/net/mptcp/mptcp_join.sh +++ b/tools/testing/selftests/net/mptcp/mptcp_join.sh @@ -3457,7 +3457,7 @@ endpoint_tests() # flush and re-add if reset_with_tcp_filter "flush re-add" ns2 10.0.3.2 REJECT OUTPUT && - mptcp_lib_kallsyms_has "subflow_rebuild_header$"; then + continue_if mptcp_lib_kallsyms_has "subflow_rebuild_header$"; then pm_nl_set_limits $ns1 0 2 pm_nl_set_limits $ns2 1 2 # broadcast IP: no packet for this address will be received on ns1