projects
/
linux-2.6-block.git
/ search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
first ⋅ prev ⋅
next
bpf: Fix a race condition between btf_put() and map_free()
2023-12-15
Yonghong Song
bpf: Fix a race condition between btf_put() and map_free()
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-14
Alexei Starovoitov
Merge branch 'bpf-use-gfp_kernel-in-bpf_event_entry_gen'
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-14
Hou Tao
bpf: Use GFP_KERNEL in bpf_event_entry_gen()
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-14
Hou Tao
bpf: Reduce the scope of rcu_read_lock when updating...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-14
Hou Tao
bpf: Update the comments in maybe_wait_bpf_programs()
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-14
Matt Bobrowski
bpf: add small subset of SECURITY_PATH hooks to BPF...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-14
Alexei Starovoitov
Merge branch 'xdp-metadata-via-kfuncs-for-ice-vlan...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-14
Larysa Zaremba
selftests/bpf: Check VLAN tag and proto in xdp_metadata
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-14
Larysa Zaremba
selftests/bpf: Add AF_INET packet generation to xdp_metadata
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-14
Larysa Zaremba
selftests/bpf: Add flags and VLAN hint to xdp_hw_metadata
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-14
Larysa Zaremba
selftests/bpf: Allow VLAN packets in xdp_hw_metadata
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-14
Larysa Zaremba
mlx5: implement VLAN tag XDP hint
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-14
Larysa Zaremba
net: make vlan_get_tag() return -ENODATA instead of...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-14
Larysa Zaremba
veth: Implement VLAN tag XDP hint
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-14
Larysa Zaremba
ice: use VLAN proto from ring packet context in skb...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-14
Larysa Zaremba
ice: Implement VLAN tag hint
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-14
Larysa Zaremba
xdp: Add VLAN tag hint
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-14
Larysa Zaremba
ice: Support XDP hints in AF_XDP ZC mode
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-14
Maciej Fijalkowski
xsk: add functions to fill control buffer
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-14
Larysa Zaremba
ice: Support RX hash XDP hint
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-14
Larysa Zaremba
ice: Support HW timestamp hint
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-14
Larysa Zaremba
ice: Introduce ice_xdp_buff
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-14
Larysa Zaremba
ice: Make ptype internal to descriptor info processing
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-14
Larysa Zaremba
ice: make RX HW timestamp reading code more reusable
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-14
Larysa Zaremba
ice: make RX hash reading code more reusable
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-13
Alexei Starovoitov
Merge branch 'bpf-token-support-in-libbpf-s-bpf-object'
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-13
Andrii Nakryiko
selftests/bpf: add tests for LIBBPF_BPF_TOKEN_PATH...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-13
Andrii Nakryiko
libbpf: support BPF token path setting through LIBBPF_BPF_TO...
Suggested-by: Alexei Starovoitov <
ast@kernel.org
>
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-13
Andrii Nakryiko
selftests/bpf: add tests for BPF object load with implicit...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-13
Andrii Nakryiko
selftests/bpf: add BPF object loading tests with explicit...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-13
Andrii Nakryiko
libbpf: wire up BPF token support at BPF object level
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-13
Andrii Nakryiko
libbpf: wire up token_fd into feature probing logic
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-13
Andrii Nakryiko
libbpf: move feature detection code into its own file
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-13
Andrii Nakryiko
libbpf: further decouple feature checking logic from...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-13
Andrii Nakryiko
libbpf: split feature detectors definitions from cached...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-13
Andrii Nakryiko
bpf: fail BPF_TOKEN_CREATE if no delegation option...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-13
Andrii Nakryiko
selftests/bpf: fix compiler warnings in RELEASE=1 mode
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-12
Andrii Nakryiko
bpf: use bitfields for simple per-subprog bool flags
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-12
Andrii Nakryiko
bpf: tidy up exception callback management a bit
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-12
Andrii Nakryiko
bpf: emit more dynptr information in verifier log
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-12
Andrii Nakryiko
bpf: log PTR_TO_MEM memory size in verifier log
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-12
Andrii Nakryiko
selftests/bpf: validate eliminated global subprog is...
Suggested-by: Alexei Starovoitov <
ast@kernel.org
>
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-10
Alexei Starovoitov
Merge branch 'add-new-bpf_cpumask_weight-kfunc'
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-10
David Vernet
selftests/bpf: Add test for bpf_cpumask_weight() kfunc
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-10
David Vernet
bpf: Add bpf_cpumask_weight() kfunc
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-10
Tiezhu Yang
test_bpf: Rename second ALU64_SMOD_X to ALU64_SMOD_K
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-10
Andrii Nakryiko
selftests/bpf: validate fake register spill/fill precision...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-10
Andrii Nakryiko
bpf: handle fake register spill to stack with BPF_ST_MEM...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-10
Alexei Starovoitov
Merge branch 'bpf-fixes-for-maybe_wait_bpf_programs'
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-10
Hou Tao
bpf: Set uattr->batch.count as zero before batched...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-10
Hou Tao
bpf: Only call maybe_wait_bpf_programs() when map operation...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-10
Hou Tao
bpf: Add missed maybe_wait_bpf_programs() for htab...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-10
Hou Tao
bpf: Call maybe_wait_bpf_programs() only once for generic_ma...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-10
Hou Tao
bpf: Remove unnecessary wait from bpf_map_copy_value()
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-09
Andrii Nakryiko
selftests/bpf: fix timer/test_bad_ret subtest on test_progs...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-07
Alexei Starovoitov
Merge branch 'allocate-bpf-trampoline-on-bpf_prog_pack'
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-07
Song Liu
x86, bpf: Use bpf_prog_pack for bpf trampoline
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-07
Song Liu
bpf: Use arch_bpf_trampoline_size
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-07
Song Liu
bpf: Add arch_bpf_trampoline_size()
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-07
Song Liu
bpf, x86: Adjust arch_prepare_bpf_trampoline return...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-07
Song Liu
bpf: Add helpers for trampoline image management
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-07
Song Liu
bpf: Adjust argument names of arch_prepare_bpf_trampoline()
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-07
Song Liu
bpf: Let bpf_prog_pack_free handle any pointer
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-06
Andrii Nakryiko
bpf: rename MAX_BPF_LINK_TYPE into __MAX_BPF_LINK_TYPE...
Suggested-by: Alexei Starovoitov <
ast@kernel.org
>
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-06
Alexei Starovoitov
Merge branch 'bpf-token-and-bpf-fs-based-delegation'
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-06
Andrii Nakryiko
bpf,selinux: allocate bpf_security_struct per BPF token
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-06
Andrii Nakryiko
selftests/bpf: add BPF token-enabled tests
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-06
Andrii Nakryiko
libbpf: add BPF token support to bpf_prog_load() API
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-06
Andrii Nakryiko
libbpf: add BPF token support to bpf_btf_load() API
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-06
Andrii Nakryiko
libbpf: add BPF token support to bpf_map_create() API
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-06
Andrii Nakryiko
libbpf: add bpf_token_create() API
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-06
Andrii Nakryiko
bpf,lsm: add BPF token LSM hooks
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-06
Andrii Nakryiko
bpf,lsm: refactor bpf_map_alloc/bpf_map_free LSM hooks
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-06
Andrii Nakryiko
bpf,lsm: refactor bpf_prog_alloc/bpf_prog_free LSM...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-06
Andrii Nakryiko
bpf: consistently use BPF token throughout BPF verifier...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-06
Andrii Nakryiko
bpf: take into account BPF token when fetching helper...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-06
Andrii Nakryiko
bpf: add BPF token support to BPF_PROG_LOAD command
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-06
Andrii Nakryiko
bpf: add BPF token support to BPF_BTF_LOAD command
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-06
Andrii Nakryiko
bpf: add BPF token support to BPF_MAP_CREATE command
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-06
Andrii Nakryiko
bpf: introduce BPF token object
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-06
Andrii Nakryiko
bpf: add BPF token delegation mount options to BPF FS
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-06
Andrii Nakryiko
bpf: align CAP_NET_ADMIN checks with bpf_capable()...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-05
Alexei Starovoitov
Merge branch 'complete-bpf-verifier-precision-tracking...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-05
Andrii Nakryiko
selftests/bpf: validate precision logic in partial_stack_loa...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-05
Andrii Nakryiko
bpf: track aligned STACK_ZERO cases as imprecise spilled...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-05
Andrii Nakryiko
selftests/bpf: validate zero preservation for sub-slot...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-05
Andrii Nakryiko
bpf: preserve constant zero when doing partial register...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-05
Andrii Nakryiko
selftests/bpf: validate STACK_ZERO is preserved on...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-05
Andrii Nakryiko
bpf: preserve STACK_ZERO slots on partial reg spills
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-05
Andrii Nakryiko
bpf: fix check for attempt to corrupt spilled pointer
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-05
Andrii Nakryiko
selftests/bpf: add stack access precision test
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-05
Andrii Nakryiko
bpf: support non-r10 register spill/fill to/from stack...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-05
Alexei Starovoitov
Merge branch 'bpf-fix-the-release-of-inner-map'
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-05
Hou Tao
selftests/bpf: Test outer map update operations in...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-05
Hou Tao
selftests/bpf: Add test cases for inner map
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-05
Hou Tao
bpf: Optimize the free of inner map
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-05
Hou Tao
bpf: Defer the free of inner map when necessary
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-05
Hou Tao
bpf: Set need_defer as false when clearing fd array...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-05
Hou Tao
bpf: Add map and need_defer parameters to .map_fd_put_ptr()
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2023-12-05
Hou Tao
bpf: Check rcu_read_lock_trace_held() before calling...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
next