[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180729022224.28825-1-daniel@iogearbox.net>
Date: Sun, 29 Jul 2018 04:22:24 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: davem@...emloft.net
Cc: daniel@...earbox.net, ast@...nel.org, netdev@...r.kernel.org
Subject: pull-request: bpf 2018-07-28
Hi David,
The following pull-request contains BPF updates for your *net* tree.
The main changes are:
1) API fixes for libbpf's BTF mapping of map key/value types in order
to make them compatible with iproute2's BPF_ANNOTATE_KV_PAIR()
markings, from Martin.
2) Fix AF_XDP to not report POLLIN prematurely by using the non-cached
consumer pointer of the RX queue, from Björn.
3) Fix __xdp_return() to check for NULL pointer after the rhashtable
lookup that retrieves the allocator object, from Taehee.
4) Fix x86-32 JIT to adjust ebp register in prologue and epilogue
by 4 bytes which got removed from overall stack usage, from Wang.
5) Fix bpf_skb_load_bytes_relative() length check to use actual
packet length, from Daniel.
6) Fix uninitialized return code in libbpf bpf_perf_event_read_simple()
handler, from Thomas.
Please consider pulling these changes from:
git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git
Thanks a lot!
----------------------------------------------------------------
The following changes since commit 1a4f14bab1868b443f0dd3c55b689a478f82e72e:
Merge branch 'tcp-robust-ooo' (2018-07-23 12:01:48 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git
for you to fetch changes up to 71eb5255f55bdb484d35ff7c9a1803f453dfbf82:
bpf: use GFP_ATOMIC instead of GFP_KERNEL in bpf_parse_prog() (2018-07-28 21:23:24 +0200)
----------------------------------------------------------------
Björn Töpel (1):
xsk: fix poll/POLLIN premature returns
Daniel Borkmann (2):
Merge branch 'bpf-annotate-kv-pair'
bpf: fix bpf_skb_load_bytes_relative pkt length check
Martin KaFai Lau (5):
bpf: btf: Ensure the member->offset is in the right order
bpf: btf: Sync uapi btf.h to tools
bpf: Replace [u]int32_t and [u]int64_t in libbpf
bpf: Introduce BPF_ANNOTATE_KV_PAIR
bpf: btf: Use exact btf value_size match in map_check_btf()
Taehee Yoo (2):
xdp: add NULL pointer check in __xdp_return()
bpf: use GFP_ATOMIC instead of GFP_KERNEL in bpf_parse_prog()
Thomas Richter (1):
perf build: Build error in libbpf missing initialization
Wang YanQing (1):
bpf, x32: Fix regression caused by commit 24dea04767e6
arch/x86/net/bpf_jit_comp32.c | 8 +-
kernel/bpf/arraymap.c | 2 +-
kernel/bpf/btf.c | 14 +++-
net/core/filter.c | 12 +--
net/core/lwt_bpf.c | 2 +-
net/core/xdp.c | 3 +-
net/xdp/xsk_queue.h | 2 +-
tools/include/uapi/linux/btf.h | 2 +-
tools/lib/bpf/btf.c | 39 +++++----
tools/lib/bpf/btf.h | 10 ++-
tools/lib/bpf/libbpf.c | 87 ++++++++++----------
tools/lib/bpf/libbpf.h | 4 +-
tools/testing/selftests/bpf/bpf_helpers.h | 9 +++
tools/testing/selftests/bpf/test_btf.c | 114 ++++++++++++++++++++++++++-
tools/testing/selftests/bpf/test_btf_haskv.c | 7 +-
15 files changed, 225 insertions(+), 90 deletions(-)
Powered by blists - more mailing lists