Thread (2 messages) read the whole thread 2 messages, 2 authors, 2020-03-27

pull-request: bpf 2020-03-27

From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2020-03-27 21:54:12
Also in: bpf

Hi David,

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

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

The main changes are:

1) Explicitly memset the bpf_attr structure on bpf() syscall to avoid
   having to rely on compiler to do so. Issues have been noticed on
   some compilers with padding and other oddities where the request was
   then unexpectedly rejected, from Greg Kroah-Hartman.

2) Sanitize the bpf_struct_ops TCP congestion control name in order to
   avoid problematic characters such as whitespaces, from Martin KaFai Lau.

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:

Alexander Potapenko, Alistair Delva, Andrii Nakryiko, Daniel Borkmann, 
John Stultz, Maciej Żenczykowski, Yonghong Song

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

The following changes since commit 32ca98feab8c9076c89c0697c5a85e46fece809d:

  net: ip_gre: Accept IFLA_INFO_DATA-less configuration (2020-03-16 17:19:56 -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 5c6f25887963f15492b604dd25cb149c501bbabf:

  bpf: Explicitly memset some bpf info structures declared on the stack (2020-03-20 21:05:22 +0100)

----------------------------------------------------------------
Greg Kroah-Hartman (2):
      bpf: Explicitly memset the bpf_attr structure
      bpf: Explicitly memset some bpf info structures declared on the stack

Martin KaFai Lau (1):
      bpf: Sanitize the bpf_struct_ops tcp-cc name

 include/linux/bpf.h   |  1 +
 kernel/bpf/btf.c      |  3 ++-
 kernel/bpf/syscall.c  | 34 ++++++++++++++++++++--------------
 net/ipv4/bpf_tcp_ca.c |  7 ++-----
 4 files changed, 25 insertions(+), 20 deletions(-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help