Re: [PATCH net] bpf: fix u64_stats_init() usage in bpf_prog_alloc()

2019-03-01 Thread Daniel Borkmann
On 03/01/2019 11:33 PM, Eric Dumazet wrote: > We need to iterate through all possible cpus. > > Fixes: 492ecee892c2 ("bpf: enable program stats") > Signed-off-by: Eric Dumazet > Reported-by: Guenter Roeck > Tested-by: Guenter Roeck Applied, thanks! Issue is only in bpf-next, not net, therefore

Re: [PATCH net] bpf: fix u64_stats_init() usage in bpf_prog_alloc()

2019-03-01 Thread Song Liu
On Fri, Mar 1, 2019 at 2:34 PM Eric Dumazet wrote: > > We need to iterate through all possible cpus. > > Fixes: 492ecee892c2 ("bpf: enable program stats") > Signed-off-by: Eric Dumazet > Reported-by: Guenter Roeck > Tested-by: Guenter Roeck Acked-by: Song Liu > --- > kernel/bpf/core.c | 8 +

[PATCH net] bpf: fix u64_stats_init() usage in bpf_prog_alloc()

2019-03-01 Thread Eric Dumazet
We need to iterate through all possible cpus. Fixes: 492ecee892c2 ("bpf: enable program stats") Signed-off-by: Eric Dumazet Reported-by: Guenter Roeck Tested-by: Guenter Roeck --- kernel/bpf/core.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/kernel/bpf/core.c b/k