public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/2] bpf: Skip bounds adjustment for conditional jumps on same register
@ 2025-10-22 16:44 KaFai Wan
  2025-10-22 16:44 ` [PATCH bpf-next 1/2] " KaFai Wan
  2025-10-22 16:44 ` [PATCH bpf-next 2/2] selftests/bpf: Add test " KaFai Wan
  0 siblings, 2 replies; 15+ messages in thread
From: KaFai Wan @ 2025-10-22 16:44 UTC (permalink / raw)
  To: ast, daniel, john.fastabend, andrii, martin.lau, eddyz87, song,
	yonghong.song, kpsingh, sdf, haoluo, jolsa, shuah, paul.chaignon,
	m.shachnai, luis.gerhorst, colin.i.king, harishankar.vishwanathan,
	bpf, linux-kernel, linux-kselftest
  Cc: KaFai Wan

This small patchset is about avoid verifier bug warning when conditional
 jumps on same register when the register holds a scalar with range.

---
KaFai Wan (2):
  bpf: Skip bounds adjustment for conditional jumps on same register
  selftests/bpf: Add test for conditional jumps on same register

 kernel/bpf/verifier.c                           |  4 ++++
 .../selftests/bpf/progs/verifier_bounds.c       | 17 +++++++++++++++++
 2 files changed, 21 insertions(+)

-- 
2.43.0


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

end of thread, other threads:[~2025-10-24 16:53 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-22 16:44 [PATCH bpf-next 0/2] bpf: Skip bounds adjustment for conditional jumps on same register KaFai Wan
2025-10-22 16:44 ` [PATCH bpf-next 1/2] " KaFai Wan
2025-10-22 18:14   ` Yonghong Song
2025-10-22 19:46     ` Eduard Zingerman
2025-10-22 20:12       ` Alexei Starovoitov
2025-10-22 20:30         ` Eduard Zingerman
2025-10-22 20:34           ` Alexei Starovoitov
2025-10-23 11:26           ` KaFai Wan
2025-10-23 17:38             ` Eduard Zingerman
2025-10-24 16:13               ` KaFai Wan
2025-10-24 16:21                 ` Eduard Zingerman
2025-10-24 16:37                   ` KaFai Wan
2025-10-24 16:40                     ` Alexei Starovoitov
2025-10-24 16:53                       ` KaFai Wan
2025-10-22 16:44 ` [PATCH bpf-next 2/2] selftests/bpf: Add test " KaFai Wan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox