mbox series

[bpf-next,v5,0/2] Add F_SETFL for fcntl in test_sockmap

Message ID cover.1713867615.git.tanggeliang@kylinos.cn (mailing list archive)
Headers show
Series Add F_SETFL for fcntl in test_sockmap | expand

Message

Geliang Tang April 23, 2024, 10:26 a.m. UTC
From: Geliang Tang <tanggeliang@kylinos.cn>

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 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: Check recv lengths in test_sockmap
  selftests/bpf: Add F_SETFL for fcntl in test_sockmap

 tools/testing/selftests/bpf/test_sockmap.c | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)