summaryrefslogtreecommitdiffstats
path: root/samples/bpf/asm_goto_workaround.h
diff options
context:
space:
mode:
authorDaniel T. Lee2019-04-04 00:17:56 +0200
committerDaniel Borkmann2019-04-04 16:43:47 +0200
commite67b2c715415b121339049b630f0b4e1ede888dc (patch)
treeead14552f2199aca864d04cdff0afcd23222eaf9 /samples/bpf/asm_goto_workaround.h
parentselftests/bpf: ksym_search won't check symbols exists (diff)
downloadkernel-qcow2-linux-e67b2c715415b121339049b630f0b4e1ede888dc.tar.gz
kernel-qcow2-linux-e67b2c715415b121339049b630f0b4e1ede888dc.tar.xz
kernel-qcow2-linux-e67b2c715415b121339049b630f0b4e1ede888dc.zip
samples, selftests/bpf: add NULL check for ksym_search
Since, ksym_search added with verification logic for symbols existence, it could return NULL when the kernel symbols are not loaded. This commit will add NULL check logic after ksym_search. Signed-off-by: Daniel T. Lee <danieltimlee@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'samples/bpf/asm_goto_workaround.h')
0 files changed, 0 insertions, 0 deletions