projects
/
platform
/
kernel
/
linux-starfive.git
/ search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
first ⋅ prev ⋅
next
selftests/bpf: Test that SO_REUSEPORT can be used with sk_assign helper
2023-07-25
Daniel Borkmann
selftests/bpf: Test that SO_REUSEPORT can be used with...
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-07-25
Lorenz Bauer
bpf, net: Support SO_REUSEPORT sockets with bpf_sk_assign
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-07-25
Lorenz Bauer
net: remove duplicate sk_lookup helpers
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-07-25
Lorenz Bauer
net: document inet[6]_lookup_reuseport sk_state requirements
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-07-25
Lorenz Bauer
net: remove duplicate reuseport_lookup functions
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-07-25
Lorenz Bauer
net: export inet_lookup_reuseport and inet6_lookup_reuseport
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-07-25
Lorenz Bauer
bpf: reject unhashed sockets in bpf_sk_assign
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-07-25
Lorenz Bauer
udp: re-score reuseport groups when connected sockets...
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-07-25
Yonghong Song
MAINTAINERS: Replace my email address
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-06-03
Martin KaFai Lau
Merge branch 'Fix elem_size not being set for inner...
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-06-03
Rhys Rustad-Elliott
selftests/bpf: Add access_inner_map selftest
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-06-02
Rhys Rustad-Elliott
bpf: Fix elem_size not being set for inner maps
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-06-02
KP Singh
bpf: Fix UAF in task local storage
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-05-30
Yonghong Song
selftests/bpf: Add a test where map key_type_id with...
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-05-30
Yonghong Song
bpf: Silence a warning in btf_type_id_size()
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-05-22
Anton Protopopov
bpf: fix a memory leak in the LRU and LRU_PERCPU hash...
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-05-20
Martin KaFai Lau
Merge branch 'bpf: Add socket destroy capability'
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-05-20
Aditi Ghag
selftests/bpf: Test bpf_sock_destroy
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-05-20
Aditi Ghag
selftests/bpf: Add helper to get port using getsockname
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-05-20
Aditi Ghag
bpf: Add bpf_sock_destroy kfunc
are contributed by Martin KaFai Lau <
martin.lau@kernel.org
>.
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-05-20
Aditi Ghag
bpf: Add kfunc filter function to 'struct btf_kfunc_id_set'
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-05-20
Aditi Ghag
bpf: udp: Implement batching for sockets iterator
Suggested-by: Martin KaFai Lau <
martin.lau@kernel.org
>
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-05-20
Aditi Ghag
udp: seq_file: Remove bpf_seq_afinfo from udp_iter_state
Suggested-by: Martin KaFai Lau <
martin.lau@kernel.org
>
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-05-20
Aditi Ghag
bpf: udp: Encapsulate logic to get udp table
Suggested-by: Martin KaFai Lau <
martin.lau@kernel.org
>
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-05-20
Aditi Ghag
udp: seq_file: Helper function to match socket attributes
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-05-20
Aditi Ghag
bpf: tcp: Avoid taking fast sock lock in iterator
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-05-14
Martin KaFai Lau
Merge branch 'bpf: Don't EFAULT for {g,s}setsockopt...
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-05-13
Stanislav Fomichev
bpf: Document EFAULT changes for sockopt
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-05-13
Stanislav Fomichev
selftests/bpf: Correctly handle optlen > 4096
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-05-13
Stanislav Fomichev
selftests/bpf: Update EFAULT {g,s}etsockopt selftests
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-05-13
Stanislav Fomichev
bpf: Don't EFAULT for {g,s}setsockopt with wrong optlen
Suggested-by: Martin KaFai Lau <
martin.lau@kernel.org
>
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-04-28
Martin KaFai Lau
selftests/bpf: Add fexit_sleep to DENYLIST.aarch64
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-04-27
Xueming Feng
bpftool: Dump map id instead of value for map_of_maps...
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-04-06
Martin KaFai Lau
Merge branch 'xsk: Fix unaligned descriptor validation'
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-04-06
Kal Conley
selftests: xsk: Add test UNALIGNED_INV_DESC_4K1_FRAME_SIZE
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-04-06
Kal Conley
xsk: Fix unaligned descriptor validation
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-04-06
Lorenzo Bianconi
selftests/bpf: fix xdp_redirect xdp-features selftest...
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-04-05
YiFei Zhu
selftests/bpf: Wait for receive in cg_storage_multi...
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-04-05
Kal Conley
selftests: xsk: Deflakify STATS_RX_DROPPED test
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-04-05
Kal Conley
selftests: xsk: Disable IPv6 on VETH1
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-04-05
Martin KaFai Lau
Merge branch 'selftests: xsk: Add test case for packets...
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-04-05
Kal Conley
selftests: xsk: Add test case for packets at end of...
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-04-05
Kal Conley
selftests: xsk: Use correct UMEM size in testapp_invalid_desc
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-04-05
Kal Conley
selftests: xsk: Add xskxceiver.h dependency to Makefile
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-03-30
Andrii Nakryiko
veristat: change guess for __sk_buff from CGROUP_SKB...
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-03-29
Martin KaFai Lau
Merge branch 'Allow BPF TCP CCs to write app_limited'
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-03-29
Yixin Shen
selftests/bpf: test a BPF CC writing app_limited
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-03-29
Yixin Shen
bpf: allow a TCP CC to write app_limited
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-03-23
Martin KaFai Lau
Merge branch 'Transit between BPF TCP congestion controls.'
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-03-23
Kui-Feng Lee
selftests/bpf: Test switching TCP Congestion Control...
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-03-23
Kui-Feng Lee
libbpf: Use .struct_ops.link section to indicate a...
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-03-23
Kui-Feng Lee
libbpf: Update a bpf_link with another struct_ops.
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-03-23
Kui-Feng Lee
bpf: Update the struct_ops of a bpf_link.
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-03-23
Kui-Feng Lee
libbpf: Create a bpf_link in bpf_map__attach_struct_ops().
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-03-23
Kui-Feng Lee
bpf: Create links for BPF struct_ops maps.
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-03-23
Kui-Feng Lee
net: Update an existing TCP congestion control algorithm.
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-03-23
Kui-Feng Lee
bpf: Retire the struct_ops map kvalue->refcnt.
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-03-23
Andrii Nakryiko
bpf: remember meta->iter info only for initialized...
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-03-21
Martin KaFai Lau
Merge branch 'net: skbuff: skb bitfield compaction...
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-03-21
Jakub Kicinski
net: skbuff: move the fields BPF cares about directly...
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-03-21
Jakub Kicinski
net: skbuff: reorder bytes 2 and 3 of the bitfield
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-03-21
Jakub Kicinski
net: skbuff: rename __pkt_vlan_present_offset to __mono_tc_o...
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-03-14
Martin KaFai Lau
Merge branch 'bpf: Allow helpers access ptr_to_btf_id.'
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-03-14
Alexei Starovoitov
selftests/bpf: Add various tests to check helper access...
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-03-14
Alexei Starovoitov
bpf: Allow helpers access trusted PTR_TO_BTF_ID.
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-03-14
Alexei Starovoitov
bpf: Fix bpf_strncmp proto.
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-03-06
Martin KaFai Lau
Merge branch 'fix resolving VAR after DATASEC'
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-03-06
Lorenz Bauer
selftests/bpf: check that modifier resolves after pointer
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-03-06
Lorenz Bauer
btf: fix resolving BTF_KIND_VAR after ARRAY, STRUCT...
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-03-06
Alexander Lobakin
bpf, test_run: fix &xdp_frame misplacement for LIVE_FRAMES
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-03-03
Kumar Kartikeya...
bpf: Use separate RCU callbacks for freeing selem
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-02-25
Martin KaFai Lau
Merge branch 'move SYS() macro to test_progs.h and...
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-02-25
Hangbin Liu
selftests/bpf: run mptcp in a dedicated netns
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-02-25
Hangbin Liu
selftests/bpf: move SYS() macro into the test_progs.h
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-02-17
Martin KaFai Lau
Revert "bpf, test_run: fix &xdp_frame misplacement...
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-02-16
Alexander Lobakin
bpf, test_run: fix &xdp_frame misplacement for LIVE_FRAMES
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-02-15
Alexei Starovoitov
selftests/bpf: Fix map_kptr test.
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-02-08
Lorenzo Bianconi
sfc: move xdp_features configuration in efx_pci_probe_post_io()
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-02-04
Florian Lehner
bpf: fix typo in header for bpf_perf_prog_read_value
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-02-03
Tonghao Zhang
bpftool: profile online CPUs instead of possible
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-01-27
Stanislav Fomichev
selftest/bpf: Make crashes more debuggable in test_progs
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-01-27
Kui-Feng Lee
bpf: Fix the kernel crash caused by bpf_setsockopt().
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-01-27
Stanislav Fomichev
selftests/bpf: Properly enable hwtstamp in xdp_hw_metadata
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-01-25
Martin KaFai Lau
Merge branch 'Enable bpf_setsockopt() on ktls enabled...
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-01-25
Kui-Feng Lee
selftests/bpf: Calls bpf_setsockopt() on a ktls enabled...
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-01-25
Kui-Feng Lee
bpf: Check the protocol of a sock to agree the calls...
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-01-23
Martin KaFai Lau
Merge branch 'xdp: hints via kfuncs'
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-01-23
Stanislav Fomichev
selftests/bpf: Simple program to dump XDP RX metadata
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-01-23
Toke Høiland-Jørgensen
net/mlx5e: Support RX XDP metadata
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-01-23
Toke Høiland-Jørgensen
net/mlx5e: Introduce wrapper for xdp_buff
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-01-23
Toke Høiland-Jørgensen
xsk: Add cb area to struct xdp_buff_xsk
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-01-23
Stanislav Fomichev
net/mlx4_en: Support RX XDP metadata
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-01-23
Stanislav Fomichev
net/mlx4_en: Introduce wrapper for xdp_buff
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-01-23
Stanislav Fomichev
selftests/bpf: Verify xdp_metadata xdp->af_xdp path
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-01-23
Stanislav Fomichev
veth: Support RX XDP metadata
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-01-23
Stanislav Fomichev
veth: Introduce veth_xdp_buff wrapper for xdp_buff
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-01-23
Toke Høiland-Jørgensen
bpf: Support consuming XDP HW metadata from fext programs
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-01-23
Stanislav Fomichev
bpf: XDP metadata RX kfuncs
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-01-23
Stanislav Fomichev
selftests/bpf: Update expected test_offload.py messages
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
2023-01-23
Stanislav Fomichev
bpf: Introduce device-bound XDP programs
Signed-off-by: Martin KaFai Lau <
martin.lau@kernel.org
>
commit
|
commitdiff
|
tree
next