All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kumar Kartikeya Dwivedi <memxor@gmail.com>
To: bpf@vger.kernel.org
Cc: Alexei Starovoitov <ast@kernel.org>,
	Andrii Nakryiko <andrii@kernel.org>,
	Daniel Borkmann <daniel@iogearbox.net>,
	Eduard Zingerman <eddyz87@gmail.com>,
	Emil Tsalapatis <emil@etsalapatis.com>,
	Ihor Solodrai <ihor.solodrai@linux.dev>,
	kkd@meta.com, kernel-team@meta.com
Subject: [PATCH bpf-next v1 0/6] Fix ring buffer callback consumption
Date: Mon,  9 Nov 2026 20:47:26 +0100	[thread overview]
Message-ID: <cover.1794253561.git.memxor@gmail.com> (raw)

Commandeering some patches from Tamir for libbpf ringbuf callback
consumption fixes. See commit logs for details.

Tamir Duberstein (6):
  libbpf: Honor zero consume bounds
  libbpf: Prevent NULL callback crash
  libbpf: Reject overwrite callback use
  selftests/bpf: Test ring buffer consumption with a zero bound
  selftests/bpf: Test the ring buffer consumer with a NULL sample
    callback
  selftests/bpf: Test that callbacks reject an overwritable ring buffer

 tools/lib/bpf/libbpf.h                        |  12 +-
 tools/lib/bpf/ringbuf.c                       |  50 +++++-
 .../selftests/bpf/prog_tests/ringbuf.c        | 145 ++++++++++++++++++
 3 files changed, 196 insertions(+), 11 deletions(-)


base-commit: bd75869299f1d4ff6e9f45117cce28f8badee1cd
-- 
2.53.0


             reply	other threads:[~2026-11-09 19:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-09 19:47 Kumar Kartikeya Dwivedi [this message]
2026-11-09 19:47 ` [PATCH bpf-next v1 1/6] libbpf: Honor zero consume bounds Kumar Kartikeya Dwivedi
2026-11-09 19:47 ` [PATCH bpf-next v1 2/6] libbpf: Prevent NULL callback crash Kumar Kartikeya Dwivedi
2026-11-09 19:47 ` [PATCH bpf-next v1 3/6] libbpf: Reject overwrite callback use Kumar Kartikeya Dwivedi
2026-11-09 19:47 ` [PATCH bpf-next v1 4/6] selftests/bpf: Test ring buffer consumption with a zero bound Kumar Kartikeya Dwivedi
2026-11-09 19:47 ` [PATCH bpf-next v1 5/6] selftests/bpf: Test the ring buffer consumer with a NULL sample callback Kumar Kartikeya Dwivedi
2026-11-09 19:47 ` [PATCH bpf-next v1 6/6] selftests/bpf: Test that callbacks reject an overwritable ring buffer Kumar Kartikeya Dwivedi
2026-11-09 23:00 ` [PATCH bpf-next v1 0/6] Fix ring buffer callback consumption patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1794253561.git.memxor@gmail.com \
    --to=memxor@gmail.com \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=eddyz87@gmail.com \
    --cc=emil@etsalapatis.com \
    --cc=ihor.solodrai@linux.dev \
    --cc=kernel-team@meta.com \
    --cc=kkd@meta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.