diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/filter.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/linux/filter.h b/include/linux/filter.h index 7977b3958e25..625f4de9bdf2 100644 --- a/include/linux/filter.h +++ b/include/linux/filter.h | |||
| @@ -37,9 +37,6 @@ | |||
| 37 | #define BPF_CALL 0x80 /* function call */ | 37 | #define BPF_CALL 0x80 /* function call */ |
| 38 | #define BPF_EXIT 0x90 /* function return */ | 38 | #define BPF_EXIT 0x90 /* function return */ |
| 39 | 39 | ||
| 40 | /* Placeholder/dummy for 0 */ | ||
| 41 | #define BPF_0 0 | ||
| 42 | |||
| 43 | /* Register numbers */ | 40 | /* Register numbers */ |
| 44 | enum { | 41 | enum { |
| 45 | BPF_REG_0 = 0, | 42 | BPF_REG_0 = 0, |
| @@ -191,7 +188,7 @@ int sk_convert_filter(struct sock_filter *prog, int len, | |||
| 191 | struct sock_filter_int *new_prog, int *new_len); | 188 | struct sock_filter_int *new_prog, int *new_len); |
| 192 | 189 | ||
| 193 | int sk_unattached_filter_create(struct sk_filter **pfp, | 190 | int sk_unattached_filter_create(struct sk_filter **pfp, |
| 194 | struct sock_fprog *fprog); | 191 | struct sock_fprog_kern *fprog); |
| 195 | void sk_unattached_filter_destroy(struct sk_filter *fp); | 192 | void sk_unattached_filter_destroy(struct sk_filter *fp); |
| 196 | 193 | ||
| 197 | int sk_attach_filter(struct sock_fprog *fprog, struct sock *sk); | 194 | int sk_attach_filter(struct sock_fprog *fprog, struct sock *sk); |
