Re: [PATCH bpf v3] bpftool: fix percpu maps updating

2019-01-23 Thread Daniel Borkmann
On 01/21/2019 12:36 PM, Paolo Abeni wrote: > 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 ins

Re: [PATCH bpf v3] bpftool: fix percpu maps updating

2019-01-21 Thread Quentin Monnet
2019-01-21 12:36 UTC+0100 ~ Paolo Abeni > 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 insta

[PATCH bpf v3] bpftool: fix percpu maps updating

2019-01-21 Thread Paolo Abeni
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 -