commit | 4b9113045b1745ec8512d6743680809edca6a74e | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Fri Mar 01 14:33:11 2019 -0800 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Sat Mar 02 00:31:36 2019 +0100 |
tree | 706174eff0c53e6717b2409c1767b43737f61faf | |
parent | 3860d38f28568803887f2566a4cfb71aba90feef [diff] |
bpf: fix u64_stats_init() usage in bpf_prog_alloc() We need to iterate through all possible cpus. Fixes: 492ecee892c2 ("bpf: enable program stats") Signed-off-by: Eric Dumazet <edumazet@google.com> Reported-by: Guenter Roeck <linux@roeck-us.net> Tested-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>