From patchwork Mon Apr 8 01:36:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geliang Tang X-Patchwork-Id: 13620378 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 6525A7F8; Mon, 8 Apr 2024 01:36:42 +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=1712540202; cv=none; b=Yt6ncnv0K/hpYkoPeF6TvjCibIDyvVdHMk58a74u/qyJJRDytLghoVJQFmqmxRTWW2juoS1WobDpBsH2zH3pnm9hvPrY0Rk4Wzl3gbcOi3vVr6CRNPC4iWStIRz+1XrHvR4Bqwh/NpJh57G73OVR2MdvMNgMaQqXTVyr/uPQN68= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712540202; c=relaxed/simple; bh=IHq4y9EX7UnQSbnemSt2T8xjhTbkd0hzM6rsmw8kpXo=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=T9cHoibr9aHLzSGYi/K95B3PS0uBJ2iNszgBS0eJKQlAnfpoRRBFfiaxcptuoWitnPMNHIlxz5ELy1bmNou45oenqMPbFg4yPWRQ8Ayn/mWd9n8tBFDwRDqm/dcMtOrS4UUj6ND8PrsMYxPnIsgapfqk92j8MZ5HKFtBZY/Z4Gk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mk8iyvka; 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="mk8iyvka" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EB55AC433F1; Mon, 8 Apr 2024 01:36:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712540201; bh=IHq4y9EX7UnQSbnemSt2T8xjhTbkd0hzM6rsmw8kpXo=; h=From:To:Cc:Subject:Date:From; b=mk8iyvkai74Mhr07KQrNahS1T7G0XCpRzYAKehkWlGy9OwDfhT24+DfyGFVGJvh2J Pyxx5gEWCb1DxO3Z6F55yuriTkGyWEQnU+IbdffLgk73Fc2aOZaqQ4CP33ONbRAAfJ rHQFsA8XJS5ZbAHABhSB+eVd1SqlRqqkHNYyK76JYYPyBu0SY/PvVHbxPXla14T/fS 1bV5UvfR7QiY68fQZV8HxYnpbBj/HHhPm/vEZBySLNpY4FxzTLMdPmt1eMl8rROP2a MdGwlhN9yVR7PYxbjKH6XxpMMUmP+mFeR0/Hb8Q+z/519F+zB4ZnJkG+UDsEQfykCx 6E/BrzcvW8xLA== 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 , Jakub Sitnicki Cc: Geliang Tang , bpf@vger.kernel.org, mptcp@lists.linux.dev Subject: [PATCH bpf-next v3 0/2] Add F_SETFL for fcntl Date: Mon, 8 Apr 2024 09:36:28 +0800 Message-Id: X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: bpf@iogearbox.net From: Geliang Tang Two fixes for test_sockmap: Patch 1, v3 of "selftests/bpf: Add F_SETFL for fcntl": - detect nonblock flag automaticly, 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): selftests/bpf: Add F_SETFL for fcntl in test_sockmap selftests/bpf: Fix umount cgroup2 error in test_sockmap tools/testing/selftests/bpf/test_sockmap.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)