[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9ae53746-875f-03ea-da3d-04003a042618@iogearbox.net>
Date: Wed, 23 Jan 2019 09:59:15 +0100
From: Daniel Borkmann <daniel@...earbox.net>
To: Paolo Abeni <pabeni@...hat.com>, netdev@...r.kernel.org
Cc: Alexei Starovoitov <ast@...nel.org>,
Quentin Monnet <quentin.monnet@...ronome.com>
Subject: Re: [PATCH bpf v3] bpftool: fix percpu maps updating
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 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: 71bb428fe2c1 ("tools: bpf: add bpftool")
> Signed-off-by: Paolo Abeni <pabeni@...hat.com>
Applied to bpf, thanks!
Powered by blists - more mailing lists