Skip to contentSkip to conversation

pull-request: bpf 2018-11-01

DISCUSSION Daniel Borkmann 2 participants 2 messages Nov 1, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi David,

The following pull-request contains BPF updates for your *net* tree.

The main changes are:

1) Fix tcp_bpf_recvmsg() to return -EAGAIN instead of 0 in non-blocking case when no data is available yet, from John.

2) Fix a compilation error in libbpf_attach_type_by_name() when compiled with clang 3.8, from Andrey.

3) Fix a partial copy of map pointer on scalar alu and remove id generation for RET_PTR_TO_MAP_VALUE return types, from Daniel.

4) Add unlimited memlock limit for kernel selftest's flow_dissector_load program, from Yonghong.

5) Fix ping for some BPF shell based kselftests where distro does not ship "ping -6" anymore, from Li.

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 a6b3a3fa042343e29ffaf9169f5ba3c819d4f9a2:

net: mvpp2: Fix affinity hint allocation (2018-10-30 11:34:41 -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 dfeb8f4c9692fd5e6c3eef19c2e4ae5338dbdb01:

Merge branch 'verifier-fixes' (2018-10-31 16:53:18 -0700)

----------------------------------------------------------------
Alexei Starovoitov (1):
Merge branch 'verifier-fixes'

Andrey Ignatov (1):
libbpf: Fix compile error in libbpf_attach_type_by_name

Daniel Borkmann (4):
bpf: fix partial copy of map_ptr when dst is scalar
bpf: don't set id on after map lookup with ptr_to_map_val return
bpf: add various test cases to test_verifier
bpf: test make sure to run unpriv test cases in test_verifier

John Fastabend (1):
bpf: tcp_bpf_recvmsg should return EAGAIN when nonblocking and no data

Li Zhijian (1):
kselftests/bpf: use ping6 as the default ipv6 ping binary if it exists

Yonghong Song (1):
tools/bpf: add unlimited rlimit for flow_dissector_load

 include/linux/bpf_verifier.h                      |   3 +
 kernel/bpf/verifier.c                             |  21 +-
 net/ipv4/tcp_bpf.c                                |   1 +
 tools/lib/bpf/libbpf.c                            |  13 +-
 tools/testing/selftests/bpf/flow_dissector_load.c |   2 +
 tools/testing/selftests/bpf/test_skb_cgroup_id.sh |   3 +-
 tools/testing/selftests/bpf/test_sock_addr.sh     |   3 +-
 tools/testing/selftests/bpf/test_verifier.c       | 321 +++++++++++++++++++---
 8 files changed, 319 insertions(+), 48 deletions(-)
maintainer
#1 lore raw

From: Daniel Borkmann <[email protected]>
Date: Thu, 1 Nov 2018 01:28:41 +0100

Quoted 16 lines

The following pull-request contains BPF updates for your *net* tree.

The main changes are:

1) Fix tcp_bpf_recvmsg() to return -EAGAIN instead of 0 in non-blocking case when no data is available yet, from John.

2) Fix a compilation error in libbpf_attach_type_by_name() when compiled with clang 3.8, from Andrey.

3) Fix a partial copy of map pointer on scalar alu and remove id generation for RET_PTR_TO_MAP_VALUE return types, from Daniel.

4) Add unlimited memlock limit for kernel selftest's flow_dissector_load program, from Yonghong.

Quoted 6 lines

5) Fix ping for some BPF shell based kselftests where distro does not ship "ping -6" anymore, from Li.

Please consider pulling these changes from:

git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git

Pulled, thanks Daniel.