]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/filter.h
net: Fix build failure due to lockdep_sock_is_held().
[karo-tx-linux.git] / include / linux / filter.h
index a51a5361695fbfc4ee0b36c88461c7adcc36c739..43aa1f8855c7ff59ab562b722cfd8dc19c4eee7e 100644 (file)
@@ -465,14 +465,10 @@ int bpf_prog_create_from_user(struct bpf_prog **pfp, struct sock_fprog *fprog,
 void bpf_prog_destroy(struct bpf_prog *fp);
 
 int sk_attach_filter(struct sock_fprog *fprog, struct sock *sk);
-int __sk_attach_filter(struct sock_fprog *fprog, struct sock *sk,
-                      bool locked);
 int sk_attach_bpf(u32 ufd, struct sock *sk);
 int sk_reuseport_attach_filter(struct sock_fprog *fprog, struct sock *sk);
 int sk_reuseport_attach_bpf(u32 ufd, struct sock *sk);
 int sk_detach_filter(struct sock *sk);
-int __sk_detach_filter(struct sock *sk, bool locked);
-
 int sk_get_filter(struct sock *sk, struct sock_filter __user *filter,
                  unsigned int len);