aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter/nfnetlink.h
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2018-07-11 13:45:12 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-07-18 11:26:46 +0200
commitbe2ab5b4d5c0bf041a34ec2e1397d50afbfb095e (patch)
tree586b1b31a05231e41d4f6fa483f0eb9078cc267f /include/linux/netfilter/nfnetlink.h
parentnetfilter: nf_tables: make valid_genid callback mandatory (diff)
downloadlinux-dev-be2ab5b4d5c0bf041a34ec2e1397d50afbfb095e.tar.xz
linux-dev-be2ab5b4d5c0bf041a34ec2e1397d50afbfb095e.zip
netfilter: nf_tables: take module reference when starting a batch
Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/linux/netfilter/nfnetlink.h')
-rw-r--r--include/linux/netfilter/nfnetlink.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netfilter/nfnetlink.h b/include/linux/netfilter/nfnetlink.h
index 3ecc3050be0e..4a520d3304a2 100644
--- a/include/linux/netfilter/nfnetlink.h
+++ b/include/linux/netfilter/nfnetlink.h
@@ -29,6 +29,7 @@ struct nfnetlink_subsystem {
__u8 subsys_id; /* nfnetlink subsystem ID */
__u8 cb_count; /* number of callbacks */
const struct nfnl_callback *cb; /* callback for individual types */
+ struct module *owner;
int (*commit)(struct net *net, struct sk_buff *skb);
int (*abort)(struct net *net, struct sk_buff *skb);
void (*cleanup)(struct net *net);