]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/netfilter.h
[NETFILTER]: Fix/improve deadlock condition on module removal netfilter
[linux-2.6-omap-h63xx.git] / include / linux / netfilter.h
index 0eed0b7ab2dffedca01a1cebd234f7bbafe2efda..1dd075eda595a86efe4ca15e8c6d146d63a7ef73 100644 (file)
@@ -88,9 +88,8 @@ struct nf_sockopt_ops
        int (*compat_get)(struct sock *sk, int optval,
                        void __user *user, int *len);
 
-       /* Number of users inside set() or get(). */
-       unsigned int use;
-       struct task_struct *cleanup_task;
+       /* Use the module struct to lock set/get code in place */
+       struct module *owner;
 };
 
 /* Each queued (to userspace) skbuff has one of these. */