diff options
| author | Alexei Starovoitov <ast@plumgrid.com> | 2014-07-30 23:34:14 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2014-08-02 18:02:38 -0400 |
| commit | 4df95ff488eb796aab9566652c250330179def17 (patch) | |
| tree | 23edb6ce7c751c2c932876ad005f0cf44fbc9cdf /include | |
| parent | 009937e78a45553a86d26654f192b2fd9ebe289d (diff) | |
net: filter: rename sk_chk_filter() -> bpf_check_classic()
trivial rename to indicate that this functions performs classic BPF checking
Signed-off-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/filter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/filter.h b/include/linux/filter.h index 3769341a745d..c4d0be4c5e75 100644 --- a/include/linux/filter.h +++ b/include/linux/filter.h | |||
| @@ -361,7 +361,7 @@ void sk_unattached_filter_destroy(struct sk_filter *fp); | |||
| 361 | int sk_attach_filter(struct sock_fprog *fprog, struct sock *sk); | 361 | int sk_attach_filter(struct sock_fprog *fprog, struct sock *sk); |
| 362 | int sk_detach_filter(struct sock *sk); | 362 | int sk_detach_filter(struct sock *sk); |
| 363 | 363 | ||
| 364 | int sk_chk_filter(const struct sock_filter *filter, unsigned int flen); | 364 | int bpf_check_classic(const struct sock_filter *filter, unsigned int flen); |
| 365 | int sk_get_filter(struct sock *sk, struct sock_filter __user *filter, | 365 | int sk_get_filter(struct sock *sk, struct sock_filter __user *filter, |
| 366 | unsigned int len); | 366 | unsigned int len); |
| 367 | 367 | ||
