[PATCH AUTOSEL 4.18 07/92] bpf: fix rcu annotations in compute_effective_progs()

2018-09-14 Thread Sasha Levin
From: Roman Gushchin [ Upstream commit 3960f4fd6585608e8cc285d9665821985494e147 ] The progs local variable in compute_effective_progs() is marked as __rcu, which is not correct. This is a local pointer, which is initialized by bpf_prog_array_alloc(), which also now returns a generic non-rcu

[PATCH AUTOSEL 4.18 07/92] bpf: fix rcu annotations in compute_effective_progs()

2018-09-14 Thread Sasha Levin
From: Roman Gushchin [ Upstream commit 3960f4fd6585608e8cc285d9665821985494e147 ] The progs local variable in compute_effective_progs() is marked as __rcu, which is not correct. This is a local pointer, which is initialized by bpf_prog_array_alloc(), which also now returns a generic non-rcu