diff --git a/include/linux/bpf.h b/include/linux/bpf.h index 75a5ae6bee074f9c665e141ab2a6dcd76c5f7d3f..36da0749205a362a88829b2dc170e245acf7a0c8 100644 --- a/include/linux/bpf.h +++ b/include/linux/bpf.h @@ -289,6 +289,10 @@ static inline struct bpf_prog *bpf_prog_get_type(u32 ufd, { return ERR_PTR(-EOPNOTSUPP); } +static inline struct bpf_prog *bpf_prog_add(struct bpf_prog *prog, int i) +{ + return ERR_PTR(-EOPNOTSUPP); +} static inline void bpf_prog_put(struct bpf_prog *prog) {