aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/test_sock_fields.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2019-03-01 14:33:11 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2019-03-02 00:31:36 +0100
commit4b9113045b1745ec8512d6743680809edca6a74e (patch)
tree706174eff0c53e6717b2409c1767b43737f61faf /tools/testing/selftests/bpf/test_sock_fields.c
parentMerge branch 'bpf-dedup-fixes' (diff)
downloadlinux-dev-4b9113045b1745ec8512d6743680809edca6a74e.tar.xz
linux-dev-4b9113045b1745ec8512d6743680809edca6a74e.zip
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>
Diffstat (limited to 'tools/testing/selftests/bpf/test_sock_fields.c')
0 files changed, 0 insertions, 0 deletions