From: Martin KaFai Lau Date: Tue, 22 Oct 2024 20:06:41 +0000 (-0700) Subject: Merge branch 'Retire test_sock.c' X-Git-Tag: v6.13-rc1~136^2~46 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=efe7921927dc01cffdaff623ef51609e1be5058a;p=thirdparty%2Fkernel%2Fstable.git Merge branch 'Retire test_sock.c' Jordan Rife says: ==================== This patch series migrates test cases out of test_sock.c to prog_tests-style tests. It moves all BPF_CGROUP_INET4_POST_BIND and BPF_CGROUP_INET6_POST_BIND test cases into a new prog_test, sock_post_bind.c, while reimplementing all LOAD_REJECT test cases as verifier tests in progs/verifier_sock.c. Finally, it moves remaining BPF_CGROUP_INET_SOCK_CREATE test coverage into prog_tests/sock_create.c before retiring test_sock.c completely. Changes ======= v1->v2: - Remove superfluous verbose bool from the top of sock_post_bind.c. - Use ASSERT_OK_FD instead of ASSERT_GE to test cgroup_fd validity. - Run sock_post_bind tests in their own namespace, "sock_post_bind". ==================== Signed-off-by: Martin KaFai Lau --- efe7921927dc01cffdaff623ef51609e1be5058a