| bpf_object__open() can return error pointer as well as NULL.
Fix error handling in bpf_prog_load_xattr() (and indirectly
bpf_prog_load()).
Fixes:  | ||
|---|---|---|
| .. | ||
| .gitignore | ||
| bpf.c | ||
| bpf.h | ||
| Build | ||
| libbpf.c | ||
| libbpf.h | ||
| Makefile | ||
| nlattr.c | ||
| nlattr.h | ||
| bpf_object__open() can return error pointer as well as NULL.
Fix error handling in bpf_prog_load_xattr() (and indirectly
bpf_prog_load()).
Fixes:  | ||
|---|---|---|
| .. | ||
| .gitignore | ||
| bpf.c | ||
| bpf.h | ||
| Build | ||
| libbpf.c | ||
| libbpf.h | ||
| Makefile | ||
| nlattr.c | ||
| nlattr.h | ||