diff options
author | Florian Westphal <fw@strlen.de> | 2015-10-13 14:33:26 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-10-16 18:21:39 +0200 |
commit | 2ffbceb2b08f8ca0496c54a9ebcd11d25275954e (patch) | |
tree | f4da28636d8583f4817b4e374c8e78eba2b822b5 /include | |
parent | 8cbc870829ecd8f1062f2a756683c80e2d1eae7f (diff) | |
download | lwn-2ffbceb2b08f8ca0496c54a9ebcd11d25275954e.tar.gz lwn-2ffbceb2b08f8ca0496c54a9ebcd11d25275954e.zip |
netfilter: remove hook owner refcounting
since commit 8405a8fff3f8 ("netfilter: nf_qeueue: Drop queue entries on
nf_unregister_hook") all pending queued entries are discarded.
So we can simply remove all of the owner handling -- when module is
removed it also needs to unregister all its hooks.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netfilter.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h index edb3dc32f1da..ef11e1d77699 100644 --- a/include/linux/netfilter.h +++ b/include/linux/netfilter.h @@ -90,7 +90,6 @@ struct nf_hook_ops { /* User fills in from here down. */ nf_hookfn *hook; struct net_device *dev; - struct module *owner; void *priv; u_int8_t pf; unsigned int hooknum; |