Subject: pull-request: bpf 2023-08-09

From: Martin KaFai Lau <[email-masked]>
Date: Wed, 9 Aug 2023 22:53:03 -0700

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

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

We've added 5 non-merge commits during the last 7 day(s) which contain
a total of 6 files changed, 102 insertions(+), 8 deletions(-).

The main changes are:

1) A bpf sockmap memleak fix and a fix in accessing the programs of
   a sockmap under the incorrect map type from Xu Kuohai.

2) A refcount underflow fix in xsk from Magnus Karlsson.

Please consider pulling these changes from:

  git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git tags/for-netdev

Thanks a lot!

Also thanks to reporters, reviewers and testers of commits in this pull-request:

John Fastabend

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

The following changes since commit 999f6631866e9ea81add935b9c6ebaab0579d259:

  Merge tag 'net-6.5-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (2023-08-03 14:00:02 -0700)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git tags/for-netdev

for you to fetch changes up to b734f02c887d9a02cd777ee3a74be38df341fabb:

  Merge branch 'bug fixes for sockmap' (2023-08-09 20:29:10 -0700)

----------------------------------------------------------------
bpf pull-request 2023-08-09

----------------------------------------------------------------
Magnus Karlsson (1):
      xsk: fix refcount underflow in error path

Martin KaFai Lau (1):
      Merge branch 'bug fixes for sockmap'

Xu Kuohai (4):
      bpf, sockmap: Fix map type error in sock_map_del_link
      bpf, sockmap: Fix bug that strp_done cannot be called
      selftests/bpf: fix a CI failure caused by vsock sockmap test
      selftests/bpf: Add sockmap test for redirecting partial skb data

 include/linux/skmsg.h                              |  1 +
 net/core/skmsg.c                                   | 10 ++-
 net/core/sock_map.c                                | 10 +--
 net/xdp/xsk.c                                      |  1 +
 .../selftests/bpf/prog_tests/sockmap_listen.c      | 74 +++++++++++++++++++++-
 .../selftests/bpf/progs/test_sockmap_listen.c      | 14 ++++
 6 files changed, 102 insertions(+), 8 deletions(-)