We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89164b0 commit 47f7569Copy full SHA for 47f7569
include/linux/bpf_verifier.h
@@ -860,8 +860,8 @@ static inline u32 type_flag(u32 type)
860
/* only use after check_attach_btf_id() */
861
static inline enum bpf_prog_type resolve_prog_type(const struct bpf_prog *prog)
862
{
863
- return (prog->type == BPF_PROG_TYPE_EXT && prog->aux->dst_prog) ?
864
- prog->aux->dst_prog->type : prog->type;
+ return prog->type == BPF_PROG_TYPE_EXT ?
+ prog->aux->saved_dst_prog_type : prog->type;
865
}
866
867
static inline bool bpf_prog_check_recur(const struct bpf_prog *prog)
0 commit comments