]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Use libbpf_attach_type_by_name in test_socket_cookie
authorAndrey Ignatov <rdna@fb.com>
Wed, 26 Sep 2018 22:24:56 +0000 (15:24 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 27 Sep 2018 19:14:59 +0000 (21:14 +0200)
commitfa98587cddb3b86c6e93d7f3f1966bf2d72669a8
treef32fcffa2ac2936b92f1dd83936ec8c358eb4bd2
parentbfc055380d0cc202c64bedf5b45563b4dea4cbd1
selftests/bpf: Use libbpf_attach_type_by_name in test_socket_cookie

Use newly introduced libbpf_attach_type_by_name in test_socket_cookie
selftest.

Signed-off-by: Andrey Ignatov <rdna@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/test_socket_cookie.c