aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/netfilter/nf_tables_ipv4.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/nf_tables_ipv4.c b/net/ipv4/netfilter/nf_tables_ipv4.c
index 177c3bceb7ca..da927dc9f636 100644
--- a/net/ipv4/netfilter/nf_tables_ipv4.c
+++ b/net/ipv4/netfilter/nf_tables_ipv4.c
@@ -48,7 +48,7 @@ static unsigned int nft_ipv4_output(const struct nf_hook_ops *ops,
48 return nft_do_chain_ipv4(ops, skb, in, out, okfn); 48 return nft_do_chain_ipv4(ops, skb, in, out, okfn);
49} 49}
50 50
51static struct nft_af_info nft_af_ipv4 __read_mostly = { 51struct nft_af_info nft_af_ipv4 __read_mostly = {
52 .family = NFPROTO_IPV4, 52 .family = NFPROTO_IPV4,
53 .nhooks = NF_INET_NUMHOOKS, 53 .nhooks = NF_INET_NUMHOOKS,
54 .owner = THIS_MODULE, 54 .owner = THIS_MODULE,
@@ -61,6 +61,7 @@ static struct nft_af_info nft_af_ipv4 __read_mostly = {
61 [NF_INET_POST_ROUTING] = nft_do_chain_ipv4, 61 [NF_INET_POST_ROUTING] = nft_do_chain_ipv4,
62 }, 62 },
63}; 63};
64EXPORT_SYMBOL_GPL(nft_af_ipv4);
64 65
65static int nf_tables_ipv4_init_net(struct net *net) 66static int nf_tables_ipv4_init_net(struct net *net)
66{ 67{