History

Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf

Daniel Borkmann says: ==================== pull-request: bpf 2023-03-06 We've added 8 non-merge commits during the last 7 day(s) which contain a total of 9 files changed, 64 insertions(+), 18 deletions(-). The main changes are: 1) Fix BTF resolver for DATASEC sections when a VAR points at a modifier, that is, keep resolving such instances instead of bailing out, from Lorenz Bauer. 2) Fix BPF test framework with regards to xdp_frame info misplacement in the "live packet" code, from Alexander Lobakin. 3) Fix an infinite loop in BPF sockmap code for TCP/UDP/AF_UNIX, from Liu Jian. 4) Fix a build error for riscv BPF JIT under PERF_EVENTS=n, from Randy Dunlap. 5) Several BPF doc fixes with either broken links or external instead of internal doc links, from Bagas Sanjaya. * tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf: selftests/bpf: check that modifier resolves after pointer btf: fix resolving BTF_KIND_VAR after ARRAY, STRUCT, UNION, PTR bpf, test_run: fix &xdp_frame misplacement for LIVE_FRAMES bpf, doc: Link to submitting-patches.rst for general patch submission info bpf, doc: Do not link to docs.kernel.org for kselftest link bpf, sockmap: Fix an infinite loop error when len is 0 in tcp_bpf_recvmsg_parser() riscv, bpf: Fix patch_text implicit declaration bpf, docs: Fix link to BTF doc ====================

Jakub Kicinski committed 3 years ago

Commit 757b56a2 parents e539a10 32dfc599 files · +64 −18Browse files

Showing the changes to kernel (1 of 9 files). Show all

Unified · Split

kernel/bpf/btf.c+1−0
@@ -4569,6 +4569,7 @@ static int btf_datasec_resolve(struct btf_verifier_env *env, · 4568 unmodified lines
4569 struct btf *btf = env->btf;4569 struct btf *btf = env->btf;
4570 u16 i;4570 u16 i;
4571 4571
4572 env->resolve_mode = RESOLVE_TBD;
4572 for_each_vsi_from(i, v->next_member, v->t, vsi) {4573 for_each_vsi_from(i, v->next_member, v->t, vsi) {
4573 u32 var_type_id = vsi->type, type_id, type_size = 0;4574 u32 var_type_id = vsi->type, type_id, type_size = 0;
4574 const struct btf_type *var_type = btf_type_by_id(env->btf,4575 const struct btf_type *var_type = btf_type_by_id(env->btf,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t