pull-request: bpf 2022-07-08

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi David, hi Jakub, hi Paolo, hi Eric,

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

We've added 3 non-merge commits during the last 2 day(s) which contain
a total of 7 files changed, 40 insertions(+), 24 deletions(-).

The main changes are:

1) Fix cBPF splat triggered by skb not having a mac header, from Eric Dumazet.

2) Fix spurious packet loss in generic XDP when pushing packets out (note
   that native XDP is not affected by the issue), from Johan Almbladh.

3) Fix bpf_dynptr_{read,write}() helper signatures with flag argument before
   its set in stone as UAPI, from Joanne Koong.

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:

syzbot

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

The following changes since commit ae9fdf6cb4da4265bdc3a574d06eaad02a7f669a:

  Merge branch 'mptcp-path-manager-fixes' (2022-07-06 12:50:27 +0100)

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

  bpf: Add flags arg to bpf_dynptr_read and bpf_dynptr_write APIs (2022-07-08 10:55:53 +0200)

----------------------------------------------------------------
Eric Dumazet (1):
      bpf: Make sure mac_header was set before using it

Joanne Koong (1):
      bpf: Add flags arg to bpf_dynptr_read and bpf_dynptr_write APIs

Johan Almbladh (1):
      xdp: Fix spurious packet loss in generic XDP TX path

 include/uapi/linux/bpf.h                           | 11 +++++++----
 kernel/bpf/core.c                                  |  8 +++++---
 kernel/bpf/helpers.c                               | 12 ++++++++----
 net/core/dev.c                                     |  8 ++++++--
 tools/include/uapi/linux/bpf.h                     | 11 +++++++----
 tools/testing/selftests/bpf/progs/dynptr_fail.c    | 10 +++++-----
 tools/testing/selftests/bpf/progs/dynptr_success.c |  4 ++--
 7 files changed, 40 insertions(+), 24 deletions(-)



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux