mirror of
https://github.com/xdp-project/bpf-examples.git
synced 2024-05-06 15:54:53 +00:00
libbpf: Update submodule version
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 <toke@redhat.com>
This commit is contained in:
1
configure
vendored
1
configure
vendored
@@ -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
|
||||
|
Submodule lib/libbpf updated: 1d6106cf45...be89b28f96
Reference in New Issue
Block a user