alistair23-linux/tools
Paolo Abeni b0ca5ecb8e bpftool: fix percpu maps updating
When updating a percpu map, bpftool currently copies the provided
value only into the first per CPU copy of the specified value,
all others instances are left zeroed.

This change explicitly copies the user-provided bytes to all the
per CPU instances, keeping the sub-command syntax unchanged.

v2 -> v3:
 - drop unused argument, as per Quentin's suggestion
v1 -> v2:
 - rename the helper as per Quentin's suggestion

Fixes: 71bb428fe2 ("tools: bpf: add bpftool")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2019-01-23 09:56:20 +01:00
..
accounting
arch powerpc fixes for 5.0 #3 2019-01-19 05:55:42 +12:00
bpf bpftool: fix percpu maps updating 2019-01-23 09:56:20 +01:00
build perf build: Don't unconditionally link the libbfd feature test to -liberty and -lz 2018-12-21 09:42:46 -03:00
cgroup
crypto
firewire
firmware
gpio tools gpio: Allow overriding CFLAGS 2018-12-28 16:33:08 -03:00
hv
iio tools iio: Override CFLAGS assignments 2019-01-04 12:54:49 -03:00
include bpf: pull in pkt_sched.h header for tooling to fix bpftool build 2019-01-18 15:16:36 -08:00
kvm/kvm_stat
laptop
leds
lib bpf: libbpf: retry loading program on EAGAIN 2019-01-15 21:35:34 +01:00
memory-model
nfsd
objtool
pci
pcmcia
perf powerpc fixes for 5.0 #3 2019-01-19 05:55:42 +12:00
power perf/core improvements and fixes: 2019-01-03 14:05:16 +01:00
scripts
spi
testing Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf 2019-01-19 16:38:12 -08:00
thermal/tmon tools thermal tmon: Use -O3 instead of -O1 if available 2019-01-04 12:54:49 -03:00
time
usb
virtio virtio: fix test build after uio.h change 2018-12-19 18:23:49 -05:00
vm tools/vm/page_owner: use page_owner_sort in the use example 2019-01-08 17:15:11 -08:00
wmi
Makefile