bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pull-request: bpf-next 2020-12-14
@ 2020-12-14 21:43 Daniel Borkmann
  2020-12-15  2:10 ` Jakub Kicinski
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Borkmann @ 2020-12-14 21:43 UTC (permalink / raw)
  To: davem; +Cc: kuba, daniel, ast, netdev, bpf

Hi David, hi Jakub,

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

We've added 31 non-merge commits during the last 11 day(s) which contain
a total of 40 files changed, 2063 insertions(+), 114 deletions(-).

The main changes are:

1) Expose bpf_sk_storage_*() helpers to iterator programs, from Florent Revest.

2) Add AF_XDP selftests based on veth devs to BPF selftests, from Weqaar Janjua.

3) Support for finding BTF based kernel attach targets through libbpf's
   bpf_program__set_attach_target() API, from Andrii Nakryiko.

4) Permit pointers on stack for helper calls in the verifier, from Yonghong Song.

5) Fix overflows in hash map elem size after rlimit removal, from Eric Dumazet.

6) Get rid of direct invocation of llc in BPF selftests, from Andrew Delgadillo.

7) Fix xsk_recvmsg() to reorder socket state check before access, from Björn Töpel.

8) Add new libbpf API helper to retrieve ring buffer epoll fd, from Brendan Jackman.

9) Batch of minor BPF selftest improvements all over the place, from Florian Lehner,
   KP Singh, Jiri Olsa and various others.

Please consider pulling these changes from:

  git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.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, kernel test robot, KP 
Singh, Magnus Karlsson, Martin KaFai Lau, Randy Dunlap, Roman Gushchin, 
Song Liu, syzbot, Yonghong Song

----------------------------------------------------------------

The following changes since commit 846c3c9cfe8a74021b246bc77a848507be225719:

  Merge tag 'wireless-drivers-next-2020-12-03' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next (2020-12-04 10:56:37 -0800)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git 

for you to fetch changes up to b4b638c36b7e7acd847b9c4b9c80f268e45ea30c:

  selftests/bpf: Add a test for ptr_to_map_value on stack for helper access (2020-12-14 21:50:10 +0100)

----------------------------------------------------------------
Andrew Delgadillo (1):
      selftests/bpf: Drop the need for LLVM's llc

Andrii Nakryiko (5):
      Merge branch 'Improve error handling of verifier tests'
      bpf: Return -ENOTSUPP when attaching to non-kernel BTF
      selftests/bpf: fix bpf_testmod.ko recompilation logic
      libbpf: Support modules in bpf_program__set_attach_target() API
      selftests/bpf: Add set_attach_target() API selftest for module target

Björn Töpel (1):
      xsk: Validate socket state in xsk_recvmsg, prior touching socket members

Brendan Jackman (1):
      libbpf: Expose libbpf ring_buffer epoll_fd

Daniel Borkmann (1):
      Merge branch 'bpf-xsk-selftests'

Eric Dumazet (1):
      bpf: Avoid overflows involving hash elem_size

Florent Revest (7):
      net: Remove the err argument from sock_from_file
      bpf: Add a bpf_sock_from_file helper
      bpf: Expose bpf_sk_storage_* to iterator programs
      selftests/bpf: Add an iterator selftest for bpf_sk_storage_delete
      selftests/bpf: Add an iterator selftest for bpf_sk_storage_get
      selftests/bpf: Test bpf_sk_storage_get in tcp iterators
      bpf: Only provide bpf_sock_from_file with CONFIG_NET

Florian Lehner (2):
      selftests/bpf: Print reason when a tester could not run a program
      selftests/bpf: Avoid errno clobbering

Jiri Olsa (1):
      selftests/bpf: Make selftest compilation work on clang 11

KP Singh (1):
      selftests/bpf: Silence ima_setup.sh when not running in verbose mode.

Lukas Bulwahn (1):
      bpf: Propagate __user annotations properly

Magnus Karlsson (1):
      samples/bpf: Fix possible hang in xdpsock with multiple threads

Tom Rix (1):
      bpf: Remove trailing semicolon in macro definition

Veronika Kabatova (1):
      selftests/bpf: Drop tcp-{client,server}.py from Makefile

Weqaar Janjua (6):
      selftests/bpf: Xsk selftests framework
      selftests/bpf: Xsk selftests - SKB POLL, NOPOLL
      selftests/bpf: Xsk selftests - DRV POLL, NOPOLL
      selftests/bpf: Xsk selftests - Socket Teardown - SKB, DRV
      selftests/bpf: Xsk selftests - Bi-directional Sockets - SKB, DRV
      selftests/bpf: Xsk selftests - adding xdpxceiver to .gitignore

Yonghong Song (2):
      bpf: Permits pointers on stack for helper calls
      selftests/bpf: Add a test for ptr_to_map_value on stack for helper access

 fs/eventpoll.c                                     |    3 +-
 fs/io_uring.c                                      |   16 +-
 include/linux/bpf.h                                |    1 +
 include/linux/net.h                                |    2 +-
 include/trace/events/xdp.h                         |   12 +-
 include/uapi/linux/bpf.h                           |    9 +
 kernel/bpf/hashtab.c                               |    6 +-
 kernel/bpf/syscall.c                               |    5 +-
 kernel/bpf/verifier.c                              |    3 +-
 kernel/trace/bpf_trace.c                           |    2 +
 net/core/bpf_sk_storage.c                          |    1 +
 net/core/filter.c                                  |   18 +
 net/core/netclassid_cgroup.c                       |    3 +-
 net/core/netprio_cgroup.c                          |    3 +-
 net/core/sock.c                                    |    8 +-
 net/socket.c                                       |   27 +-
 net/xdp/xsk.c                                      |    4 +-
 samples/bpf/xdpsock_user.c                         |    2 +
 scripts/bpf_helpers_doc.py                         |    4 +
 tools/include/uapi/linux/bpf.h                     |    9 +
 tools/lib/bpf/libbpf.c                             |   64 +-
 tools/lib/bpf/libbpf.h                             |    1 +
 tools/lib/bpf/libbpf.map                           |    1 +
 tools/lib/bpf/ringbuf.c                            |    6 +
 tools/testing/selftests/bpf/.gitignore             |    1 +
 tools/testing/selftests/bpf/Makefile               |   52 +-
 tools/testing/selftests/bpf/ima_setup.sh           |   24 +
 tools/testing/selftests/bpf/prog_tests/bpf_iter.c  |  118 +++
 .../selftests/bpf/prog_tests/module_attach.c       |   11 +-
 .../bpf/progs/bpf_iter_bpf_sk_storage_helpers.c    |   65 ++
 tools/testing/selftests/bpf/progs/bpf_iter_task.c  |    3 +-
 .../selftests/bpf/progs/test_core_reloc_module.c   |    8 +
 .../selftests/bpf/progs/test_module_attach.c       |   11 +
 tools/testing/selftests/bpf/test_progs.c           |   10 +
 tools/testing/selftests/bpf/test_verifier.c        |   31 +-
 tools/testing/selftests/bpf/test_xsk.sh            |  259 +++++
 tools/testing/selftests/bpf/verifier/unpriv.c      |    5 +-
 tools/testing/selftests/bpf/xdpxceiver.c           | 1074 ++++++++++++++++++++
 tools/testing/selftests/bpf/xdpxceiver.h           |  160 +++
 tools/testing/selftests/bpf/xsk_prereqs.sh         |  135 +++
 40 files changed, 2063 insertions(+), 114 deletions(-)
 create mode 100644 tools/testing/selftests/bpf/progs/bpf_iter_bpf_sk_storage_helpers.c
 create mode 100755 tools/testing/selftests/bpf/test_xsk.sh
 create mode 100644 tools/testing/selftests/bpf/xdpxceiver.c
 create mode 100644 tools/testing/selftests/bpf/xdpxceiver.h
 create mode 100755 tools/testing/selftests/bpf/xsk_prereqs.sh

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: pull-request: bpf-next 2020-12-14
  2020-12-14 21:43 pull-request: bpf-next 2020-12-14 Daniel Borkmann
@ 2020-12-15  2:10 ` Jakub Kicinski
  0 siblings, 0 replies; 2+ messages in thread
From: Jakub Kicinski @ 2020-12-15  2:10 UTC (permalink / raw)
  To: Daniel Borkmann; +Cc: davem, ast, netdev, bpf

On Mon, 14 Dec 2020 22:43:16 +0100 Daniel Borkmann wrote:
> 1) Expose bpf_sk_storage_*() helpers to iterator programs, from Florent Revest.
> 
> 2) Add AF_XDP selftests based on veth devs to BPF selftests, from Weqaar Janjua.
> 
> 3) Support for finding BTF based kernel attach targets through libbpf's
>    bpf_program__set_attach_target() API, from Andrii Nakryiko.
> 
> 4) Permit pointers on stack for helper calls in the verifier, from Yonghong Song.
> 
> 5) Fix overflows in hash map elem size after rlimit removal, from Eric Dumazet.
> 
> 6) Get rid of direct invocation of llc in BPF selftests, from Andrew Delgadillo.
> 
> 7) Fix xsk_recvmsg() to reorder socket state check before access, from Björn Töpel.
> 
> 8) Add new libbpf API helper to retrieve ring buffer epoll fd, from Brendan Jackman.
> 
> 9) Batch of minor BPF selftest improvements all over the place, from Florian Lehner,
>    KP Singh, Jiri Olsa and various others.

Looks like the reply bot is not keeping it 100.. I'll report 
to Konstantin after the merge window craziness is over.

Pulled, thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-15  2:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-14 21:43 pull-request: bpf-next 2020-12-14 Daniel Borkmann
2020-12-15  2:10 ` Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).