Skip to contentSkip to conversation

pull-request: bpf 2018-08-10

DISCUSSION Daniel Borkmann 2 participants 2 messages Aug 10, 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 cpumap and devmap on teardown as they're under RCU context and won't have same assumption as running under NAPI protection, from Jesper.

2) Fix various sockmap bugs in bpf_tcp_sendmsg() code, e.g. we had a bug where socket error was not propagated correctly, from Daniel.

3) Fix incompatible libbpf header license for BTF code and match it before it gets officially released with the rest of libbpf which is LGPL-2.1, from Martin.

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 82a40777de12728dedf4075453b694f0d1baee80:

ip6_tunnel: use the right value for ipv4 min mtu check in ip6_tnl_xmit (2018-08-05 17:35:02 -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 9c95420117393ed5f76de373e3c6479c21e3e380:

Merge branch 'bpf-fix-cpu-and-devmap-teardown' (2018-08-09 21:50:45 +0200)

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

Daniel Borkmann (4):
bpf, sockmap: fix bpf_tcp_sendmsg sock error handling bpf, sockmap: fix leak in bpf_tcp_sendmsg wait for mem path bpf, sockmap: fix cork timeout for select due to epipe Merge branch 'bpf-fix-cpu-and-devmap-teardown'

Jesper Dangaard Brouer (3):
xdp: fix bug in cpumap teardown code path
samples/bpf: xdp_redirect_cpu adjustment to reproduce teardown race easier
xdp: fix bug in devmap teardown code path

Martin KaFai Lau (1):
bpf: btf: Change tools/lib/bpf/btf to LGPL

 kernel/bpf/cpumap.c                        | 15 +++++++++------
 kernel/bpf/devmap.c                        | 14 +++++++++-----
 kernel/bpf/sockmap.c                       |  9 ++++++---
 samples/bpf/xdp_redirect_cpu_kern.c        |  2 +-
 samples/bpf/xdp_redirect_cpu_user.c        |  4 ++--
 tools/lib/bpf/btf.c                        |  2 +-
 tools/lib/bpf/btf.h                        |  2 +-
 tools/testing/selftests/bpf/test_sockmap.c |  2 +-
 8 files changed, 30 insertions(+), 20 deletions(-)
maintainer
#1 lore raw

From: Daniel Borkmann <[email protected]>
Date: Fri, 10 Aug 2018 01:21:49 +0200

Quoted 3 lines

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

The main changes are:

...

Quoted 3 lines

Please consider pulling these changes from:

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

Pulled, thanks Daniel.