mbox series

[net-next,v7,0/2] Add F_SETFL for fcntl in test_sockmap

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

Message

Geliang Tang June 12, 2024, 9:19 a.m. UTC
From: Geliang Tang <tanggeliang@kylinos.cn>

v7:
 - a better fix for tls_sw_recvmsg.

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: receive msg again for sk_redirect
  selftests/bpf: Add F_SETFL for fcntl in test_sockmap

 net/tls/tls_sw.c                           | 3 +++
 tools/testing/selftests/bpf/test_sockmap.c | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)