summaryrefslogtreecommitdiff
path: root/net/netfilter
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2019-04-15 16:43:15 -0400
committerPablo Neira Ayuso <pablo@netfilter.org>2019-04-30 13:35:26 +0200
commitc5f1931f66175d64cfe3db75da456622a32733d8 (patch)
treedc7fbd7747c9f5ae96993b1450106e505cb1e3c6 /net/netfilter
parentf1f86d09ca7e35fb161a47bc54ec9cb2f4fe42d8 (diff)
netfilter: nf_tables: fix implicit include of module.h
This file clearly uses modular infrastructure but does not call out the inclusion of <linux/module.h> explicitly. We add that include explicitly here, so we can tidy up some header usage elsewhere w/o causing build breakage. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter')
-rw-r--r--net/netfilter/nf_tables_set_core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netfilter/nf_tables_set_core.c b/net/netfilter/nf_tables_set_core.c
index 814789644bd3..a9fce8d10051 100644
--- a/net/netfilter/nf_tables_set_core.c
+++ b/net/netfilter/nf_tables_set_core.c
@@ -1,4 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0 */
+#include <linux/module.h>
#include <net/netfilter/nf_tables_core.h>
static int __init nf_tables_set_module_init(void)