commit | e67b2c715415b121339049b630f0b4e1ede888dc | [log] [tgz] |
---|---|---|
author | Daniel T. Lee <danieltimlee@gmail.com> | Thu Apr 04 07:17:56 2019 +0900 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Thu Apr 04 16:43:47 2019 +0200 |
tree | ead14552f2199aca864d04cdff0afcd23222eaf9 | |
parent | 0979ff7992fb6f4eb837995b12f4071dcafebd2d [diff] |
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>