From 6fa81d4dbe0fd57793f29df44d5531110221db2c Mon Sep 17 00:00:00 2001 From: Andrii Nakryiko Date: Mon, 12 Oct 2020 09:52:58 -0700 Subject: [PATCH] sync: latest libbpf changes from kernel Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: f4d385e4d51d035c7f0d68a3e9564c9453c13aa4 Checkpoint bpf-next commit: 376dcfe3a4e5a5475a84e6b5f926066a8614f887 Baseline bpf commit: 9cf51446e68607136e42a4e531a30c888c472463 Checkpoint bpf commit: 28802e7c0c9954218d1830f7507edc9d49b03a00 Andrii Nakryiko (3): libbpf: Skip CO-RE relocations for not loaded BPF programs libbpf: Support safe subset of load/store instruction resizing with CO-RE libbpf: Allow specifying both ELF and raw BTF for CO-RE BTF override Daniel Borkmann (3): bpf: Improve bpf_redirect_neigh helper description bpf: Add redirect_peer helper bpf: Allow for map-in-map with dynamic inner array map entries Hangbin Liu (2): libbpf: Close map fd if init map slots failed libbpf: Check if pin_path was set even map fd exist Hao Luo (4): bpf: Introduce pseudo_btf_id bpf/libbpf: BTF support for typed ksyms bpf: Introduce bpf_per_cpu_ptr() bpf: Introducte bpf_this_cpu_ptr() Jakub Wilk (1): bpf: Fix typo in uapi/linux/bpf.h Luigi Rizzo (1): bpf, libbpf: Use valid btf in bpf_program__set_attach_target Magnus Karlsson (1): libbpf: Fix compatibility problem in xsk_socket__create Nikita V. Shirokov (1): bpf: Add tcp_notsent_lowat bpf setsockopt Song Liu (1): bpf: Introduce BPF_F_PRESERVE_ELEMS for perf event array include/uapi/linux/bpf.h | 104 ++++++++++-- src/libbpf.c | 348 ++++++++++++++++++++++++++++++++------- src/xsk.c | 7 +- 3 files changed, 385 insertions(+), 74 deletions(-) -- 2.24.1 --- BPF-CHECKPOINT-COMMIT | 2 +- CHECKPOINT-COMMIT | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BPF-CHECKPOINT-COMMIT b/BPF-CHECKPOINT-COMMIT index c441c1c..ac9519e 100644 --- a/BPF-CHECKPOINT-COMMIT +++ b/BPF-CHECKPOINT-COMMIT @@ -1 +1 @@ -9cf51446e68607136e42a4e531a30c888c472463 +28802e7c0c9954218d1830f7507edc9d49b03a00 diff --git a/CHECKPOINT-COMMIT b/CHECKPOINT-COMMIT index 7fddb4e..9f0c920 100644 --- a/CHECKPOINT-COMMIT +++ b/CHECKPOINT-COMMIT @@ -1 +1 @@ -f4d385e4d51d035c7f0d68a3e9564c9453c13aa4 +376dcfe3a4e5a5475a84e6b5f926066a8614f887