diff options
author | Florian Westphal <fw@strlen.de> | 2018-01-09 14:30:48 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-01-10 15:32:12 +0100 |
commit | 20651cefd25ffa77a15cab5853b175a6dc975ec2 (patch) | |
tree | 874d3f0584082471a01fa68f4f5b7e03062e7f0e /net/netfilter | |
parent | 98319cb9089844d76e65a6cce5bfbd165e698735 (diff) | |
download | lwn-20651cefd25ffa77a15cab5853b175a6dc975ec2.tar.gz lwn-20651cefd25ffa77a15cab5853b175a6dc975ec2.zip |
netfilter: x_tables: unbreak module auto loading
a typo causes module auto load support to never be compiled in.
Fixes: 03d13b6868a2 ("netfilter: xtables: add and use xt_request_find_table_lock")
Reported-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter')
-rw-r--r-- | net/netfilter/x_tables.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/x_tables.c b/net/netfilter/x_tables.c index 10c19a3f4cbd..5b8f3b7358e6 100644 --- a/net/netfilter/x_tables.c +++ b/net/netfilter/x_tables.c @@ -1082,7 +1082,7 @@ struct xt_table *xt_request_find_table_lock(struct net *net, u_int8_t af, { struct xt_table *t = xt_find_table_lock(net, af, name); -#ifdef CONFIG_MODULE +#ifdef CONFIG_MODULES if (IS_ERR(t)) { int err = request_module("%stable_%s", xt_prefix[af], name); if (err) |