bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pull-request: bpf 2019-05-16
@ 2019-05-15 23:54 Daniel Borkmann
  2019-05-16  1:29 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Borkmann @ 2019-05-15 23:54 UTC (permalink / raw)
  To: davem; +Cc: daniel, ast, netdev, bpf

Hi David,

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

The main changes are:

1) Fix a use after free in __dev_map_entry_free(), from Eric.

2) Several sockmap related bug fixes: a splat in strparser if
   it was never initialized, remove duplicate ingress msg list
   purging which can race, fix msg->sg.size accounting upon
   skb to msg conversion, and last but not least fix a timeout
   bug in tcp_bpf_wait_data(), from John.

3) Fix LRU map to avoid messing with eviction heuristics upon
   syscall lookup, e.g. map walks from user space side will
   then lead to eviction of just recently created entries on
   updates as it would mark all map entries, from Daniel.

4) Don't bail out when libbpf feature probing fails. Also
   various smaller fixes to flow_dissector test, from Stanislav.

5) Fix missing brackets for BTF_INT_OFFSET() in UAPI, from Gary.

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

  net: ethernet: stmmac: dwmac-sun8i: enable support of unicast filtering (2019-05-13 09:59:41 -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 5fa2ca7c4a3fc176f31b495e1a704862d8188b53:

  bpf, tcp: correctly handle DONT_WAIT flags and timeo == 0 (2019-05-16 01:36:13 +0200)

----------------------------------------------------------------
Alexei Starovoitov (1):
      Merge branch 'lru-map-fix'

Daniel Borkmann (3):
      bpf: add map_lookup_elem_sys_only for lookups from syscall side
      bpf, lru: avoid messing with eviction heuristics upon syscall lookup
      bpf: test ref bit from data path and add new tests for syscall path

Eric Dumazet (1):
      bpf: devmap: fix use-after-free Read in __dev_map_entry_free

Gary Lin (2):
      bpf: btf: fix the brackets of BTF_INT_OFFSET()
      tools/bpf: Sync kernel btf.h header

John Fastabend (4):
      bpf: sockmap, only stop/flush strp if it was enabled at some point
      bpf: sockmap remove duplicate queue free
      bpf: sockmap fix msg->sg.size account on ingress skb
      bpf, tcp: correctly handle DONT_WAIT flags and timeo == 0

Stanislav Fomichev (4):
      bpf: mark bpf_event_notify and bpf_event_init as static
      libbpf: don't fail when feature probing fails
      selftests/bpf: add missing \n to flow_dissector CHECK errors
      selftests/bpf: add prog detach to flow_dissector test

 Documentation/bpf/btf.rst                          |   2 +-
 include/linux/bpf.h                                |   1 +
 include/uapi/linux/btf.h                           |   2 +-
 kernel/bpf/devmap.c                                |   3 +
 kernel/bpf/hashtab.c                               |  23 +-
 kernel/bpf/syscall.c                               |   5 +-
 kernel/trace/bpf_trace.c                           |   5 +-
 net/core/skmsg.c                                   |   7 +-
 net/ipv4/tcp_bpf.c                                 |   7 +-
 tools/include/uapi/linux/btf.h                     |   2 +-
 tools/lib/bpf/libbpf.c                             |   2 +-
 .../selftests/bpf/prog_tests/flow_dissector.c      |   9 +-
 tools/testing/selftests/bpf/test_lru_map.c         | 288 ++++++++++++++++++++-
 13 files changed, 321 insertions(+), 35 deletions(-)

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

* Re: pull-request: bpf 2019-05-16
  2019-05-15 23:54 pull-request: bpf 2019-05-16 Daniel Borkmann
@ 2019-05-16  1:29 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2019-05-16  1:29 UTC (permalink / raw)
  To: daniel; +Cc: ast, netdev, bpf

From: Daniel Borkmann <daniel@iogearbox.net>
Date: Thu, 16 May 2019 01:54:28 +0200

> The following pull-request contains BPF updates for your *net* tree.
> 
> The main changes are:
> 
> 1) Fix a use after free in __dev_map_entry_free(), from Eric.
> 
> 2) Several sockmap related bug fixes: a splat in strparser if
>    it was never initialized, remove duplicate ingress msg list
>    purging which can race, fix msg->sg.size accounting upon
>    skb to msg conversion, and last but not least fix a timeout
>    bug in tcp_bpf_wait_data(), from John.
> 
> 3) Fix LRU map to avoid messing with eviction heuristics upon
>    syscall lookup, e.g. map walks from user space side will
>    then lead to eviction of just recently created entries on
>    updates as it would mark all map entries, from Daniel.
> 
> 4) Don't bail out when libbpf feature probing fails. Also
>    various smaller fixes to flow_dissector test, from Stanislav.
> 
> 5) Fix missing brackets for BTF_INT_OFFSET() in UAPI, from Gary.
> 
> Please consider pulling these changes from:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git

Pulled, thanks Daniel.

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

end of thread, other threads:[~2019-05-16  1:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-15 23:54 pull-request: bpf 2019-05-16 Daniel Borkmann
2019-05-16  1:29 ` David Miller

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).