On Thu, Sep 3, 2020 at 1:36 PM Andrii Nakryiko andrii.nakryiko@gmail.com wrote:
On Thu, Sep 3, 2020 at 1:06 PM Hao Luo haoluo@google.com wrote:
The returned value of bpf_object__open_file() should be checked with libbpf_get_error() rather than NULL. This fix prevents test_progs from crash when test_global_data.o is not present.
Signed-off-by: Hao Luo haoluo@google.com
thanks!
Acked-by: Andrii Nakryiko andriin@fb.com
Applied. Thanks