You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
bpf: Use bpf_load_program() from the library
Replace bpf_prog_load() with bpf_load_program() calls. Signed-off-by: Mickaël Salaün <mic@digikod.net> Cc: Alexei Starovoitov <ast@fb.com> Cc: Daniel Borkmann <daniel@iogearbox.net> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
d02d8986a7
commit
2ee89fb9a9
@@ -1,4 +1,4 @@
|
||||
CFLAGS += -Wall -O2 -lcap -I../../../include/uapi
|
||||
CFLAGS += -Wall -O2 -lcap -I../../../include/uapi -I../../../lib
|
||||
|
||||
test_objs = test_verifier test_tag test_maps test_lru_map test_lpm_map
|
||||
|
||||
@@ -7,6 +7,8 @@ TEST_FILES := $(test_objs)
|
||||
|
||||
all: $(test_objs)
|
||||
|
||||
$(test_objs): ../../../lib/bpf/bpf.o
|
||||
|
||||
include ../lib.mk
|
||||
|
||||
clean:
|
||||
|
||||
Reference in New Issue
Block a user