Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1338413

Re: [PATCH v2] bpf: grab rcu read lock for bpf_percpu_hash_update

From Alexei Starovoitov <alexei.starovoitov@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] bpf: grab rcu read lock for bpf_percpu_hash_update
Date 2016-02-19 20:00 +0100
Message-ID <r3Yrw-1eR-11@gated-at.bofh.it> (permalink)
References <r3Yrw-1eR-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Feb 19, 2016 at 01:53:10PM -0500, Sasha Levin wrote:
> bpf_percpu_hash_update() expects rcu lock to be held and warns if it's not,
> which pointed out a missing rcu read lock.
> 
> Fixes: 15a07b338 ("bpf: add lookup/update support for per-cpu hash and array maps")
> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>

thank you.
Acked-by: Alexei Starovoitov <ast@kernel.org>

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2] bpf: grab rcu read lock for bpf_percpu_hash_update Sasha Levin <sasha.levin@oracle.com> - 2016-02-19 20:00 +0100
  Re: [PATCH v2] bpf: grab rcu read lock for bpf_percpu_hash_update Alexei Starovoitov <alexei.starovoitov@gmail.com> - 2016-02-19 20:00 +0100
  Re: [PATCH v2] bpf: grab rcu read lock for bpf_percpu_hash_update Daniel Borkmann <daniel@iogearbox.net> - 2016-02-19 20:10 +0100
  Re: [PATCH v2] bpf: grab rcu read lock for bpf_percpu_hash_update David Miller <davem@davemloft.net> - 2016-02-19 20:50 +0100

csiph-web