Skip to contentSkip to conversation

pull-request: bpf 2023-08-09

DISCUSSION Applied Martin KaFai Lau 2 participants 2 messages Aug 10, 2023

Subsystems (3)
lore
Share & tools
lore

Martin KaFai Lau

author reviewer
#0 lore raw

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(-)
#1 lore raw
This pull request was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This pull request was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Wed, 9 Aug 2023 22:53:03 -0700 you wrote:

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

[...]

Here is the summary with links:
- pull-request: bpf 2023-08-09

    https://git.kernel.org/netdev/net/c/62d02fca8be5

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html