linux-stable/tools
Andrii Nakryiko 5eefe17c7a libbpf: Clean up ringbuf size adjustment implementation
Drop unused iteration variable, move overflow prevention check into the
for loop.

Fixes: 0087a681fa ("libbpf: Automatically fix up BPF_MAP_TYPE_RINGBUF size, if necessary")
Reported-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20220510185159.754299-1-andrii@kernel.org
2022-05-11 14:06:29 +02:00
..
accounting
arch x86/tsx: Disable TSX development mode at boot 2022-04-11 09:58:40 +02:00
bootconfig
bpf bpf, x86: Generate trampolines from bpf_tramp_links 2022-05-10 17:50:40 -07:00
build tools build: Filter out options and warnings not supported by clang 2022-04-09 12:34:16 -03:00
cgroup
counter
debugging
edid
firewire
firmware
gpio
hv
iio Kbuild updates for v5.18 2022-03-31 11:59:03 -07:00
include bpf, x86: Attach a cookie to fentry/fexit/fmod_ret/lsm. 2022-05-10 21:58:31 -07:00
io_uring
kvm/kvm_stat
laptop
leds
lib libbpf: Clean up ringbuf size adjustment implementation 2022-05-11 14:06:29 +02:00
memory-model
objtool objtool: Fix SLS validation for kcov tail-call replacement 2022-04-05 10:24:40 +02:00
pci
pcmcia
perf perf bench: Fix numa bench to fix usage of affinity for machines with #CPUs > 1K 2022-04-14 09:15:10 -03:00
power Kbuild updates for v5.18 2022-03-31 11:59:03 -07:00
rcu
scripts Kbuild updates for v5.18 2022-03-31 11:59:03 -07:00
spi
testing selftest/bpf: The test cases of BPF cookie for fentry/fexit/fmod_ret/lsm. 2022-05-10 21:58:40 -07:00
thermal/tmon
time
tracing Kbuild updates for v5.18 2022-03-31 11:59:03 -07:00
usb
virtio tools/virtio: compile with -pthread 2022-03-28 16:52:59 -04:00
vm tools/vm/page_owner_sort.c: remove -c option 2022-04-01 11:46:09 -07:00
wmi
Makefile