Skip to contentSkip to conversation

BPF fixes for 6.15-rc2

GIT PULL Merged Alexei Starovoitov 2 participants 2 messages Apr 12, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi Linus,

The following changes since commit a8662bcd2ff152bfbc751cab20f33053d74d0963:

Merge tag 'v6.15-p3' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 (2025-04-04 19:34:38 -0700)

are available in the Git repository at:

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

for you to fetch changes up to a650d38915c194b87616a0747a339b20958d17db:

bpf: Convert ringbuf map to rqspinlock (2025-04-11 10:28:26 -0700)

----------------------------------------------------------------
- Followup fixes for resilient spinlock (Kumar Kartikeya Dwivedi) . Make res_spin_lock test less verbose, since it was spamming BPF CI on failure, and make the check for AA deadlock stronger . Fix rebasing mistake and use architecture provided res_smp_cond_load_acquire
. Convert BPF maps (queue_stack and ringbuf) to resilient
spinlock to address long standing syzbot reports

- Make sure that classic BPF load instruction from SKF_[NET|LL]_OFF offsets works when skb is fragmeneted (Willem de Bruijn)

----------------------------------------------------------------
Alexei Starovoitov (1):
Merge branch 'support-skf_net_off-and-skf_ll_off-on-skb-frags'

Kumar Kartikeya Dwivedi (5):
selftests/bpf: Make res_spin_lock test less verbose selftests/bpf: Make res_spin_lock AA test condition stronger
bpf: Use architecture provided res_smp_cond_load_acquire
bpf: Convert queue_stack map to rqspinlock
bpf: Convert ringbuf map to rqspinlock

Willem de Bruijn (2):
bpf: support SKF_NET_OFF and SKF_LL_OFF on skb frags selftests/net: test sk_filter support for SKF_NET_OFF on frags

 arch/arm64/include/asm/rqspinlock.h                |   2 +-
 kernel/bpf/queue_stack_maps.c                      |  35 +--
 kernel/bpf/ringbuf.c                               |  17 +-
 kernel/bpf/rqspinlock.c                            |   2 +-
 net/core/filter.c                                  |  80 ++++---
 .../selftests/bpf/prog_tests/res_spin_lock.c       |   7 +-
 tools/testing/selftests/bpf/progs/res_spin_lock.c  |  10 +-
 tools/testing/selftests/net/.gitignore             |   1 +
 tools/testing/selftests/net/Makefile               |   2 +
 tools/testing/selftests/net/skf_net_off.c          | 244 +++++++++++++++++++++
 tools/testing/selftests/net/skf_net_off.sh         |  30 +++
 11 files changed, 354 insertions(+), 76 deletions(-)
 create mode 100644 tools/testing/selftests/net/skf_net_off.c
 create mode 100755 tools/testing/selftests/net/skf_net_off.sh