X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Ffilter.h;h=ddfa0372a3b723d978823bea9a3d4e267abf0506;hb=febb187761b02fce7d61b9c897d0e701f672b5ee;hp=91b2e3b9251eb67ee57b19dd44ba0f84bb8fcb94;hpb=9f261e011340bcd22c1dd48b465153bd78caa8c8;p=linux-2.6 diff --git a/include/linux/filter.h b/include/linux/filter.h index 91b2e3b925..ddfa0372a3 100644 --- a/include/linux/filter.h +++ b/include/linux/filter.h @@ -146,6 +146,7 @@ struct sock; extern unsigned int sk_run_filter(struct sk_buff *skb, struct sock_filter *filter, int flen); extern int sk_attach_filter(struct sock_fprog *fprog, struct sock *sk); +extern int sk_detach_filter(struct sock *sk); extern int sk_chk_filter(struct sock_filter *filter, int flen); #endif /* __KERNEL__ */