mbox series

pull-request: bpf 2019-01-08

Message ID 20190108004116.12677-1-daniel@iogearbox.net
State Accepted
Delegated to: David Miller
Headers show
Series pull-request: bpf 2019-01-08 | expand

Pull-request

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

Message

Daniel Borkmann Jan. 8, 2019, 12:41 a.m. UTC
Hi David,

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

The main changes are:

1) Fix BSD'ism in sendmsg(2) to rewrite unspecified IPv6 dst for
   unconnected UDP sockets with [::1] _after_ cgroup BPF invocation,
   from Andrey.

2) Follow-up fix to the speculation fix where we need to reject a
   corner case for sanitation when ptr and scalars are mixed in the
   same alu op. Also, some unrelated minor doc fixes, from Daniel.

3) Fix BPF kselftest's incorrect uses of create_and_get_cgroup()
   by not assuming fd of zero value to be the result of an error
   case, from Stanislav.

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

  ipv6: Consider sk_bound_dev_if when binding a socket to a v4 mapped address (2019-01-04 17:18:58 -0800)

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 2dc0f02da14e19f510694f8d8bbcb0f2f63e0646:

  Merge branch 'bpf-doc-updates' (2019-01-07 15:52:00 -0800)

----------------------------------------------------------------
Alexei Starovoitov (3):
      Merge branch 'udpv6_sendmsg-addr_any-fix'
      Merge branch 'reject-ptr-scalar-mix'
      Merge branch 'bpf-doc-updates'

Andrey Ignatov (2):
      bpf: Fix [::] -> [::1] rewrite in sys_sendmsg
      selftests/bpf: Test [::] -> [::1] rewrite in sys_sendmsg in test_sock_addr

Daniel Borkmann (4):
      bpf: fix sanitation of alu op with pointer / scalar type from different paths
      bpf: add various test cases for alu op on mixed dst register types
      bpf, doc: update design qa to reflect kern_version requirement
      bpf, doc: add note for libbpf's stand-alone build

Stanislav Fomichev (1):
      selftests/bpf: fix incorrect users of create_and_get_cgroup

 Documentation/bpf/bpf_design_QA.rst                |  11 +-
 include/linux/bpf_verifier.h                       |   1 +
 kernel/bpf/verifier.c                              |  61 ++++++++---
 net/ipv6/udp.c                                     |   8 +-
 samples/bpf/test_cgrp2_attach2.c                   |  14 +--
 samples/bpf/test_current_task_under_cgroup_user.c  |   2 +-
 tools/lib/bpf/README.rst                           |  14 +++
 tools/testing/selftests/bpf/cgroup_helpers.c       |   6 +-
 tools/testing/selftests/bpf/test_cgroup_storage.c  |   2 +-
 tools/testing/selftests/bpf/test_dev_cgroup.c      |   2 +-
 tools/testing/selftests/bpf/test_netcnt.c          |   2 +-
 .../selftests/bpf/test_skb_cgroup_id_user.c        |   2 +-
 tools/testing/selftests/bpf/test_sock.c            |   2 +-
 tools/testing/selftests/bpf/test_sock_addr.c       |  55 +++++++++-
 tools/testing/selftests/bpf/test_socket_cookie.c   |   2 +-
 tools/testing/selftests/bpf/test_tcpbpf_user.c     |   2 +-
 tools/testing/selftests/bpf/test_tcpnotify_user.c  |   2 +-
 tools/testing/selftests/bpf/test_verifier.c        | 120 +++++++++++++++++++++
 18 files changed, 262 insertions(+), 46 deletions(-)

Comments

David Miller Jan. 8, 2019, 3:56 a.m. UTC | #1
From: Daniel Borkmann <daniel@iogearbox.net>
Date: Tue,  8 Jan 2019 01:41:16 +0100

> The following pull-request contains BPF updates for your *net* tree.
> 
> The main changes are:
> 
> 1) Fix BSD'ism in sendmsg(2) to rewrite unspecified IPv6 dst for
>    unconnected UDP sockets with [::1] _after_ cgroup BPF invocation,
>    from Andrey.
> 
> 2) Follow-up fix to the speculation fix where we need to reject a
>    corner case for sanitation when ptr and scalars are mixed in the
>    same alu op. Also, some unrelated minor doc fixes, from Daniel.
> 
> 3) Fix BPF kselftest's incorrect uses of create_and_get_cgroup()
>    by not assuming fd of zero value to be the result of an error
>    case, from Stanislav.
> 
> Please consider pulling these changes from:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git

Pulled, thanks Daniel.