Skip to contentSkip to conversation

pull-request: bpf 2019-06-15

DISCUSSION Alexei Starovoitov 2 participants 2 messages Jun 15, 2019 – Jun 16, 2019

Subsystems (3)
lore
Share & tools
lore

Alexei Starovoitov

author maintainer
#0 lore raw

Hi David,

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

The main changes are:

1) fix stack layout of JITed x64 bpf code, from Alexei.

2) fix out of bounds memory access in bpf_sk_storage, from Arthur.

3) fix lpm trie walk, from Jonathan.

4) fix nested bpf_perf_event_output, from Matt.

5) and several other fixes.

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

nfp: ensure skb network header is set for packet redirect (2019-06-09 20:08:09 -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 9594dc3c7e71b9f52bee1d7852eb3d4e3aea9e99:

bpf: fix nested bpf tracepoints with per-cpu data (2019-06-15 16:33:35 -0700)

----------------------------------------------------------------
Alexei Starovoitov (1):
bpf, x64: fix stack layout of JITed bpf code

Arthur Fabre (1):
bpf: Fix out of bounds memory access in bpf_sk_storage

Daniel Borkmann (1):
Merge branch 'bpf-ppc-div-fix'

Ilya Maximets (1):
xdp: check device pointer before clearing

Jonathan Lemon (1):
bpf: lpm_trie: check left child of last leftmost node for NULL

Martin KaFai Lau (1):
bpf: net: Set sk_bpf_storage back to NULL for cloned sk

Martynas Pumputis (2):
bpf: simplify definition of BPF_FIB_LOOKUP related flags
bpf: sync BPF_FIB_LOOKUP flag changes with BPF uapi

Matt Mullins (1):
bpf: fix nested bpf tracepoints with per-cpu data

Naveen N. Rao (2):
bpf: fix div64 overflow tests to properly detect errors powerpc/bpf: use unsigned division instruction for 64-bit operations

Toshiaki Makita (3):
bpf, devmap: Fix premature entry free on destroying map bpf, devmap: Add missing bulk queue free
bpf, devmap: Add missing RCU read lock on flush

 arch/powerpc/include/asm/ppc-opcode.h              |   1 +
 arch/powerpc/net/bpf_jit.h                         |   2 +-
 arch/powerpc/net/bpf_jit_comp64.c                  |   8 +-
 arch/x86/net/bpf_jit_comp.c                        |  74 +++++----------
 include/uapi/linux/bpf.h                           |   4 +-
 kernel/bpf/devmap.c                                |   9 +-
 kernel/bpf/lpm_trie.c                              |   9 +-
 kernel/trace/bpf_trace.c                           | 100 +++++++++++++++++----
 net/core/bpf_sk_storage.c                          |   3 +-
 net/core/sock.c                                    |   3 +
 net/xdp/xdp_umem.c                                 |  11 +--
 tools/include/uapi/linux/bpf.h                     |   4 +-
 tools/testing/selftests/bpf/test_lpm_map.c         |  41 ++++++++-
 .../testing/selftests/bpf/verifier/div_overflow.c  |  14 ++-
 14 files changed, 188 insertions(+), 95 deletions(-)
maintainer
#1 lore raw

From: Alexei Starovoitov <[email protected]>
Date: Sat, 15 Jun 2019 16:41:38 -0700

Quoted 10 lines

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

The main changes are:

1) fix stack layout of JITed x64 bpf code, from Alexei.

2) fix out of bounds memory access in bpf_sk_storage, from Arthur.

3) fix lpm trie walk, from Jonathan.

Quoted 7 lines

4) fix nested bpf_perf_event_output, from Matt.

5) and several other fixes.

Please consider pulling these changes from:

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

Pulled, thanks Alexei.