android_kernel_motorola_sm6375/tools
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Daniel Borkmann b9b87cb0e6
UPSTREAM: bpf: Add classid helper only based on skb->sk
Similarly to 5a52ae4e32a6 ("bpf: Allow to retrieve cgroup v1 classid
from v2 hooks"), add a helper to retrieve cgroup v1 classid solely
based on the skb->sk, so it can be used as key as part of BPF map
lookups out of tc from host ns, in particular given the skb->sk is
retained these days when crossing net ns thanks to 9c4c325252
("skbuff: preserve sock reference when scrubbing the skb."). This
is similar to bpf_skb_cgroup_id() which implements the same for v2.
Kubernetes ecosystem is still operating on v1 however, hence net_cls
needs to be used there until this can be dropped in with the v2
helper of bpf_skb_cgroup_id().

Change-Id: I0e5fe273db09f4a51962964bf8f1410f1d6cd39a
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/bpf/ed633cf27a1c620e901c5aa99ebdefb028dce600.1601477936.git.daniel@iogearbox.net
2026-01-14 18:12:38 -08:00
..
accounting
arch
bpf UPSTREAM: bpf: Implement bpf_local_storage for inodes 2026-01-14 18:12:21 -08:00
build tools build: Align warning options with perf 2025-10-29 13:59:51 +01:00
cgroup
debugging
firewire
firmware
gpio
hv
iio
include UPSTREAM: bpf: Add classid helper only based on skb->sk 2026-01-14 18:12:38 -08:00
io_uring
kvm/kvm_stat
laptop
leds
lib UPSTREAM: bpf: Implement bpf_local_storage for inodes 2026-01-14 18:12:21 -08:00
memory-model
nfsd
objtool
pci
pcmcia
perf Merge tag 'ASB-2025-12-01_11-5.4' of https://android.googlesource.com/kernel/common into android13-5.4-lahaina 2025-12-04 19:21:35 +02:00
power tools/power x86_energy_perf_policy: Prefer driver HWP limits 2025-12-03 12:45:08 +01:00
scripts
spi
testing UPSTREAM: bpf: Add abnormal return checks. 2026-01-14 18:12:30 -08:00
thermal/tmon
time
usb
virtio
vm
wmi
Makefile