[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200410002947.30827-1-daniel@iogearbox.net>
Date: Fri, 10 Apr 2020 02:29:47 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: davem@...emloft.net
Cc: kuba@...nel.org, daniel@...earbox.net, ast@...nel.org,
netdev@...r.kernel.org, bpf@...r.kernel.org
Subject: pull-request: bpf 2020-04-10
Hi David,
The following pull-request contains BPF updates for your *net* tree.
We've added 13 non-merge commits during the last 7 day(s) which contain
a total of 13 files changed, 137 insertions(+), 43 deletions(-).
The main changes are:
1) JIT code emission fixes for riscv and arm32, from Luke Nelson and Xi Wang.
2) Disable vmlinux BTF info if GCC_PLUGIN_RANDSTRUCT is used, from Slava Bacherikov.
3) Fix oob write in AF_XDP when meta data is used, from Li RongQing.
4) Fix bpf_get_link_xdp_id() handling on single prog when flags are specified,
from Andrey Ignatov.
5) Fix sk_assign() BPF helper for request sockets that can have sk_reuseport
field uninitialized, from Joe Stringer.
6) Fix mprotect() test case for the BPF LSM, from KP Singh.
Please consider pulling these changes from:
git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git
Thanks a lot!
Also thanks to reporters, reviewers and testers of commits in this pull-request:
Alexei Starovoitov, Andrii Nakryiko, Björn Töpel, Jann Horn, Jonathan
Lemon, kbuild test robot, Kees Cook, KP Singh, Liu Yiding, Luke Nelson,
Martin KaFai Lau, Toke Høiland-Jørgensen
----------------------------------------------------------------
The following changes since commit 21f64e72e7073199a6f8d7d8efe52cd814d7d665:
net: stmmac: xgmac: Fix VLAN register handling (2020-04-02 07:04:45 -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 bb9562cf5c67813034c96afb50bd21130a504441:
arm, bpf: Fix bugs with ALU64 {RSH, ARSH} BPF_K shift by 0 (2020-04-09 01:05:53 +0200)
----------------------------------------------------------------
Andrey Ignatov (2):
libbpf: Fix bpf_get_link_xdp_id flags handling
selftests/bpf: Add test for bpf_get_link_xdp_id
Björn Töpel (1):
riscv, bpf: Remove BPF JIT for nommu builds
Colin Ian King (1):
bpf: Fix spelling mistake "arithmatic" -> "arithmetic" in test_verifier
Jakub Sitnicki (1):
net, sk_msg: Don't use RCU_INIT_POINTER on sk_user_data
Jeremy Cline (1):
libbpf: Initialize *nl_pid so gcc 10 is happy
Joe Stringer (1):
bpf: Fix use of sk->sk_reuseport from sk_assign
KP Singh (1):
bpf, lsm: Fix the file_mprotect LSM test.
Li RongQing (1):
xsk: Fix out of boundary write in __xsk_rcv_memcpy
Luke Nelson (2):
riscv, bpf: Fix offset range checking for auipc+jalr on RV64
arm, bpf: Fix bugs with ALU64 {RSH, ARSH} BPF_K shift by 0
Qiujun Huang (1):
bpf: Fix a typo "inacitve" -> "inactive"
Slava Bacherikov (1):
kbuild, btf: Fix dependencies for DEBUG_INFO_BTF
arch/arm/net/bpf_jit_32.c | 12 +++-
arch/riscv/Kconfig | 2 +-
arch/riscv/net/bpf_jit_comp64.c | 49 ++++++++++------
kernel/bpf/bpf_lru_list.h | 2 +-
lib/Kconfig.debug | 2 +
net/core/filter.c | 2 +-
net/core/sock.c | 2 +-
net/xdp/xsk.c | 5 +-
tools/lib/bpf/netlink.c | 6 +-
tools/testing/selftests/bpf/prog_tests/test_lsm.c | 18 +++---
tools/testing/selftests/bpf/prog_tests/xdp_info.c | 68 +++++++++++++++++++++++
tools/testing/selftests/bpf/progs/lsm.c | 8 +--
tools/testing/selftests/bpf/verifier/bounds.c | 4 +-
13 files changed, 137 insertions(+), 43 deletions(-)
create mode 100644 tools/testing/selftests/bpf/prog_tests/xdp_info.c
Powered by blists - more mailing lists