diff options
| author | Thomas Gleixner <[email protected]> | 2020-07-24 15:03:59 +0200 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2020-07-24 15:03:59 +0200 |
| commit | b35ad8405d3951721126c3942d863056c2f39c64 (patch) | |
| tree | a33abc961c828287673b607c430d6fb80754807f /include/linux/bpf-netns.h | |
| parent | 7f6fa101dfac8739764e47751d314551f6160c98 (diff) | |
| parent | 935ace2fb5cc49ae88bd1f1735ddc51cdc2ebfb3 (diff) | |
Merge branch 'core/entry' into x86/entry
Pick up generic entry code to migrate x86 over.
Diffstat (limited to 'include/linux/bpf-netns.h')
| -rw-r--r-- | include/linux/bpf-netns.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/bpf-netns.h b/include/linux/bpf-netns.h index 4052d649f36d..47d5b0c708c9 100644 --- a/include/linux/bpf-netns.h +++ b/include/linux/bpf-netns.h @@ -33,7 +33,7 @@ int netns_bpf_prog_query(const union bpf_attr *attr, union bpf_attr __user *uattr); int netns_bpf_prog_attach(const union bpf_attr *attr, struct bpf_prog *prog); -int netns_bpf_prog_detach(const union bpf_attr *attr); +int netns_bpf_prog_detach(const union bpf_attr *attr, enum bpf_prog_type ptype); int netns_bpf_link_create(const union bpf_attr *attr, struct bpf_prog *prog); #else @@ -49,7 +49,8 @@ static inline int netns_bpf_prog_attach(const union bpf_attr *attr, return -EOPNOTSUPP; } -static inline int netns_bpf_prog_detach(const union bpf_attr *attr) +static inline int netns_bpf_prog_detach(const union bpf_attr *attr, + enum bpf_prog_type ptype) { return -EOPNOTSUPP; } |