BPF List
 help / color / mirror / Atom feed
* [PATCH bpf-next v1 0/2] Fix unique fields for nested structs in BTF
@ 2026-07-19 14:23 Kumar Kartikeya Dwivedi
  2026-07-19 14:23 ` [PATCH bpf-next v1 1/2] bpf: Preserve unique-field state across nested structs Kumar Kartikeya Dwivedi
  2026-07-19 14:24 ` [PATCH bpf-next v1 2/2] selftests/bpf: Test duplicate unique fields in " Kumar Kartikeya Dwivedi
  0 siblings, 2 replies; 7+ messages in thread
From: Kumar Kartikeya Dwivedi @ 2026-07-19 14:23 UTC (permalink / raw)
  To: bpf
  Cc: Alexei Starovoitov, Andrii Nakryiko, Daniel Borkmann,
	Eduard Zingerman, Emil Tsalapatis, kkd, kernel-team

Fix constraint of certain fields that have to be unique when nested
structs are present. See commit logs for details.

Kumar Kartikeya Dwivedi (2):
  bpf: Preserve unique-field state across nested structs
  selftests/bpf: Test duplicate unique fields in nested structs

 kernel/bpf/btf.c                             | 26 +++++++++++---------
 tools/testing/selftests/bpf/prog_tests/btf.c | 26 ++++++++++++++++++++
 2 files changed, 40 insertions(+), 12 deletions(-)


base-commit: ecf11bc5f56abb3a2219a8c75e8a5b54467d1781
-- 
2.53.0


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

end of thread, other threads:[~2026-07-19 15:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-19 14:23 [PATCH bpf-next v1 0/2] Fix unique fields for nested structs in BTF Kumar Kartikeya Dwivedi
2026-07-19 14:23 ` [PATCH bpf-next v1 1/2] bpf: Preserve unique-field state across nested structs Kumar Kartikeya Dwivedi
2026-07-19 14:34   ` sashiko-bot
2026-07-19 15:08     ` Kumar Kartikeya Dwivedi
2026-07-19 14:24 ` [PATCH bpf-next v1 2/2] selftests/bpf: Test duplicate unique fields in " Kumar Kartikeya Dwivedi
2026-07-19 14:30   ` sashiko-bot
2026-07-19 15:17   ` bot+bpf-ci

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