From patchwork Tue Jun 11 09:13:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geliang Tang X-Patchwork-Id: 13693311 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 C1D09176244; Tue, 11 Jun 2024 09:13:53 +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=1718097233; cv=none; b=HURW9ugSNwOA/tUuR4KBd68UpuJXCiTpedpy9MSl4E+v6AZ8+RIX1taijJRQ3kGw9X3MKGY47KZz+5V0NF52JPCrz0khaMkHHfwQpsBhSg4IlCsumfvDpK6szVzJhk++hpsYTXGKlYwBpDYotWwm7ItN5pHbW0wkXXCt9HzKMH0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718097233; c=relaxed/simple; bh=iVIg9Chp+SFgvnl0DiHQwSQmMS0jLU5+gy5nrRq4TPw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=J346klILsDBybeL0qGf+4V4vc8ACQ2rrWTJ5i8V2AB2y2/LvhoWp4M8gd6zv5bg6EAM2YNVwAv9jA1MVNL8Re8/AcpMka/m1HmG2Q+MPZ2arCSw72/4VXXE+ZzYS/GVfujCNaIhKVEjaWix2m03zbrkGVbTc9I3hZQUZlwArzxM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mAWiVKKs; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mAWiVKKs" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0F073C2BD10; Tue, 11 Jun 2024 09:13:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718097233; bh=iVIg9Chp+SFgvnl0DiHQwSQmMS0jLU5+gy5nrRq4TPw=; h=From:To:Cc:Subject:Date:From; b=mAWiVKKsZwSZuxCoy6wJ7+sLcfTd/qFnhrwfCjVj6h/f4eiM6IXOMX6N0pXDrzEa4 u8TvJla0g1MKTj+NhaDH8eWhnTLbkhIpzu/dLFW4bHO/BCnkzQG1dSJVDGpSpQlH1b TUm4UWt6BQlNi9ziMH0BYWFek+Zw6YV2qLrJHRwUroDExrU1jKhZjXbwqV9CxMuoSk MYj0aagXV7KNECn8q9B0tkspjt/4+W71OpxnSGcEqMNElMGv+YLHLKikv6qeTvu4Uw sLPnjuszEV9w0Z/RwlwzBCYTbegOCTsZuaUI5ZBuYQljvU/Z+j0ltdBydTNMArF9yf NL2pZjFhl5EjA== From: Geliang Tang To: Andrii Nakryiko , Eduard Zingerman , Mykola Lysenko , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Shuah Khan , Boris Pismenny , Jakub Kicinski , "David S. Miller" , Eric Dumazet , Paolo Abeni , Jakub Sitnicki Cc: Geliang Tang , bpf@vger.kernel.org, linux-kselftest@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH net-next v6 0/2] Add F_SETFL for fcntl in test_sockmap Date: Tue, 11 Jun 2024 17:13:33 +0800 Message-ID: X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Geliang Tang v6: - add a fix for tls_sw_recvmsg(). v5: - add a new patch "Check recv lengths in test_sockmap" instead of using "continue" in msg_loop. v4: - address Martin's comments for v3. (thanks.) - add Yonghong's "Acked-by" tags. (thanks.) - update subject-prefix from "bpf-next" to "bpf". Patch 1, v3 of "selftests/bpf: Add F_SETFL for fcntl": - detect nonblock flag automatically, then test_sockmap can run in both block and nonblock modes. - use continue instead of again in v2. Patch 2, fix for umount cgroup2 error. Geliang Tang (2): tls: wait for receiving next skb for sk_redirect selftests/bpf: Add F_SETFL for fcntl in test_sockmap net/tls/tls_sw.c | 2 ++ tools/testing/selftests/bpf/test_sockmap.c | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-)