iproute2/lib
David Ahern fa30592512 libbpf: Remove use of bpf_program__set_priv and bpf_program__priv
bpf_program__set_priv and bpf_program__priv are deprecated as of
libbpf v0.7+. Rather than store the map as priv on the program,
change find_legacy_tail_calls to take an argument to return a reference
to the map.

find_legacy_tail_calls is invoked twice from load_bpf_object - the
first time to check for programs that should be loaded. In this case
a reference to the map is not needed, but it does validate the map
exists. The second is invoked from update_legacy_tail_call_maps where
the map pointer is needed.

Signed-off-by: David Ahern <dsahern@kernel.org>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2022-05-04 20:20:21 -07:00
..
ax25_ntop.c lib: fix ax25.h include for musl 2022-01-15 10:41:13 -08:00
bpf_glue.c bpf: Export bpf syscall wrapper 2022-03-07 08:52:08 -07:00
bpf_legacy.c bpf: Export bpf syscall wrapper 2022-03-07 08:52:08 -07:00
bpf_libbpf.c libbpf: Remove use of bpf_program__set_priv and bpf_program__priv 2022-05-04 20:20:21 -07:00
cg_map.c lib: ignore invalid mounts in cg_init_map 2020-10-11 23:02:35 -07:00
color.c lib/color: make local functions static 2018-11-19 11:42:44 -08:00
coverity_model.c scrub out whitespace issues 2016-03-27 10:50:14 -07:00
exec.c netns: switch netns in the child when executing commands 2019-06-20 14:30:41 -07:00
fs.c lib/fs: fix memory leak in get_task_name() 2022-03-11 19:10:48 -08:00
inet_proto.c ip: add a new parameter -Numeric 2019-06-18 08:37:47 -07:00
json_print_math.c build: Fix link errors on some systems 2021-01-18 12:28:47 -08:00
json_print.c json_print: suppress clang format warning 2022-01-26 10:19:08 -07:00
json_writer.c json: fix backslash escape typo in jsonw_puts 2019-07-19 10:48:38 -07:00
libgenl.c libgenl: make genl_add_mcast_grp set errno on error 2021-05-17 11:59:37 -07:00
libnetlink.c libnetlink: fix socket leak in rtnl_open_byproto() 2022-02-11 11:38:51 -08:00
ll_addr.c ROSE: Print decoded addresses rather than hex numbers. 2021-09-23 20:02:51 -06:00
ll_map.c ip: allow to use alternative names as handle 2019-10-28 07:35:29 -07:00
ll_proto.c lib: add profinet and ethercat as link layer protocol names 2022-03-04 09:24:06 -07:00
ll_types.c ip: add a new parameter -Numeric 2019-06-18 08:37:47 -07:00
Makefile build: Fix link errors on some systems 2021-01-18 12:28:47 -08:00
mnl_utils.c utils: Introduce helper routines for generic socket recv 2021-03-03 04:00:04 +00:00
mpls_ntop.c SPDX license identifiers 2017-11-24 12:21:35 -08:00
mpls_pton.c SPDX license identifiers 2017-11-24 12:21:35 -08:00
names.c tc: drop unused name_to_id function 2018-11-19 11:42:44 -08:00
namespace.c lib/namespace: fix ip -all netns return code 2021-02-22 18:17:56 -08:00
netrom_ntop.c NETROM: Add netrom_ntop implementation. 2021-09-23 20:02:37 -06:00
rose_ntop.c ROSE: Add rose_ntop implementation. 2021-09-23 20:02:45 -06:00
rt_names.c lib: rt_names: Add rtnl_dsfield_get_name() 2021-01-18 04:09:29 +00:00
utils_math.c build: Fix link errors on some systems 2021-01-18 12:28:47 -08:00
utils.c ip: remove leftovers from IPX and DECnet 2021-09-01 14:03:53 -07:00