mbox series

pull-request: bpf 2021-04-01

Message ID 20210401232457.64488-1-alexei.starovoitov@gmail.com (mailing list archive)
State Accepted
Delegated to: Netdev Maintainers
Headers show
Series pull-request: bpf 2021-04-01 | expand

Pull-request

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

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Message

Alexei Starovoitov April 1, 2021, 11:24 p.m. UTC
Hi David, hi Jakub,

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

We've added 11 non-merge commits during the last 8 day(s) which contain
a total of 10 files changed, 151 insertions(+), 26 deletions(-).

The main changes are:

1) xsk creation fixes, from Ciara.

2) bpf_get_task_stack fix, from Dave.

3) trampoline in modules fix, from Jiri.

4) bpf_obj_get fix for links and progs, from Lorenz.

5) struct_ops progs must be gpl compatible fix, from Toke.

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:

Andrii Nakryiko, Brendan Jackman, Daniel Borkmann, Magnus Karlsson, 
Martin KaFai Lau, Song Liu

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

The following changes since commit 002322402dafd846c424ffa9240a937f49b48c42:

  Merge branch 'akpm' (patches from Andrew) (2021-03-25 11:43:43 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 6dcc4e38386950abf9060784631622dfc4df9577:

  Merge branch 'AF_XDP Socket Creation Fixes' (2021-04-01 14:45:52 -0700)

----------------------------------------------------------------
Alexei Starovoitov (1):
      Merge branch 'AF_XDP Socket Creation Fixes'

Ciara Loftus (3):
      libbpf: Ensure umem pointer is non-NULL before dereferencing
      libbpf: Restore umem state after socket create failure
      libbpf: Only create rx and tx XDP rings when necessary

Dave Marchevsky (1):
      bpf: Refcount task stack in bpf_get_task_stack

Jiri Olsa (1):
      bpf: Take module reference for trampoline in module

Lorenz Bauer (2):
      bpf: link: Refuse non-O_RDWR flags in BPF_OBJ_GET
      bpf: program: Refuse non-O_RDWR flags in BPF_OBJ_GET

Pedro Tammela (1):
      libbpf: Fix bail out from 'ringbuf_process_ring()' on error

Toke Høiland-Jørgensen (2):
      bpf: Enforce that struct_ops programs be GPL-only
      bpf/selftests: Test that kernel rejects a TCP CC with an invalid license

Xu Kuohai (1):
      bpf: Fix a spelling typo in bpf_atomic_alu_string disasm

 include/linux/bpf.h                                |  2 +
 kernel/bpf/disasm.c                                |  2 +-
 kernel/bpf/inode.c                                 |  4 +-
 kernel/bpf/stackmap.c                              | 12 ++++-
 kernel/bpf/trampoline.c                            | 30 ++++++++++++
 kernel/bpf/verifier.c                              |  5 ++
 tools/lib/bpf/ringbuf.c                            |  2 +-
 tools/lib/bpf/xsk.c                                | 57 ++++++++++++++--------
 .../testing/selftests/bpf/prog_tests/bpf_tcp_ca.c  | 44 +++++++++++++++++
 tools/testing/selftests/bpf/progs/bpf_tcp_nogpl.c  | 19 ++++++++
 10 files changed, 151 insertions(+), 26 deletions(-)
 create mode 100644 tools/testing/selftests/bpf/progs/bpf_tcp_nogpl.c