From 8e9fc89bec4de8491e2c286a92b1a27e8f0a62f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toke=20H=C3=B8iland-J=C3=B8rgensen?= Date: Mon, 17 Jan 2022 13:09:19 +0100 Subject: [PATCH] libbpf: Update submodule version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update the libbpf submodule to the latest version, and update the configure script so we check for the newer bpf_object__next_program() helper (to fix deprecation warnings). Signed-off-by: Toke Høiland-Jørgensen --- configure | 1 + lib/libbpf | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 0bc0ffa..81a58a1 100755 --- a/configure +++ b/configure @@ -96,6 +96,7 @@ int main(int argc, char **argv) { (void) bpf_map__set_initial_value(ptr, ptr, 0); (void) bpf_set_link_xdp_fd_opts(0, 0, 0, &lopts); (void) bpf_tc_attach(ptr, ptr); + (void) bpf_object__next_program(ptr, ptr); return 0; } EOF diff --git a/lib/libbpf b/lib/libbpf index 1d6106c..be89b28 160000 --- a/lib/libbpf +++ b/lib/libbpf @@ -1 +1 @@ -Subproject commit 1d6106cf450c0ba40943f1db77a29559ee390f75 +Subproject commit be89b28f96be426e30a2b0c5312d13b30ee518c7