aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/xt_NFLOG.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2021-03-25 18:25:11 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2021-03-31 22:34:10 +0200
commita38b5b56d6f4678a04c3c1943000953593391bf6 (patch)
tree2d421d221774c3391768e807f4221e0b187d7d51 /net/netfilter/xt_NFLOG.c
parente465cccd0b9de113a81280bd52ee717bf5e3d1a2 (diff)
downloadlinux-a38b5b56d6f4678a04c3c1943000953593391bf6.tar.gz
netfilter: nf_log: add module softdeps
xt_LOG has no direct dependency on the syslog-based logger, it relies on the nf_log core to probe the requested backend. Now that all syslog-based loggers reside in the same module, we can just add a soft dependency on nf_log_syslog and let modprobe take care of it. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/xt_NFLOG.c')
-rw-r--r--net/netfilter/xt_NFLOG.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netfilter/xt_NFLOG.c b/net/netfilter/xt_NFLOG.c
index 6e83ce3000db8..fb57932080598 100644
--- a/net/netfilter/xt_NFLOG.c
+++ b/net/netfilter/xt_NFLOG.c
@@ -79,3 +79,4 @@ static void __exit nflog_tg_exit(void)
module_init(nflog_tg_init);
module_exit(nflog_tg_exit);
+MODULE_SOFTDEP("pre: nfnetlink_log");