diff options
author | Lorenz Bauer | 2019-05-08 18:49:32 +0200 |
---|---|---|
committer | Alexei Starovoitov | 2019-05-10 00:53:56 +0200 |
commit | 07b619919d3d5401adc9bc6b79dcf12cc2c6d485 (patch) | |
tree | 7592791ba5b9f6bd2dbdb17b0537f4eb0df23b43 /mm/khugepaged.c | |
parent | net/tcp: use deferred jump label for TCP acked data hook (diff) | |
download | kernel-qcow2-linux-07b619919d3d5401adc9bc6b79dcf12cc2c6d485.tar.gz kernel-qcow2-linux-07b619919d3d5401adc9bc6b79dcf12cc2c6d485.tar.xz kernel-qcow2-linux-07b619919d3d5401adc9bc6b79dcf12cc2c6d485.zip |
selftests: bpf: initialize bpf_object pointers where needed
There are a few tests which call bpf_object__close on uninitialized
bpf_object*, which may segfault. Explicitly zero-initialise these pointers
to avoid this.
Signed-off-by: Lorenz Bauer <lmb@cloudflare.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'mm/khugepaged.c')
0 files changed, 0 insertions, 0 deletions