summaryrefslogtreecommitdiffstats
path: root/net/netfilter/nf_log.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2021-03-25 18:25:09 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2021-03-31 22:34:05 +0200
commit77ccee96a67422ac05fc47327cac4e4287fd0d8a (patch)
treee02f4a8676f588f53b12937e5352db91e500f61a /net/netfilter/nf_log.c
parent1510618e45cb9fb77aede5544f8309b64f8b7400 (diff)
downloadlinux-77ccee96a67422ac05fc47327cac4e4287fd0d8a.tar.bz2
netfilter: nf_log_bridge: merge with nf_log_syslog
Provide bridge log support from nf_log_syslog. After the merge there is no need to load the "real packet loggers", all of them now reside in the same module. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nf_log.c')
-rw-r--r--net/netfilter/nf_log.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/net/netfilter/nf_log.c b/net/netfilter/nf_log.c
index 6cb9f9474b05..eaa8181f5ef7 100644
--- a/net/netfilter/nf_log.c
+++ b/net/netfilter/nf_log.c
@@ -151,13 +151,6 @@ void nf_log_unbind_pf(struct net *net, u_int8_t pf)
}
EXPORT_SYMBOL(nf_log_unbind_pf);
-void nf_logger_request_module(int pf, enum nf_log_type type)
-{
- if (loggers[pf][type] == NULL)
- request_module("nf-logger-%u-%u", pf, type);
-}
-EXPORT_SYMBOL_GPL(nf_logger_request_module);
-
int nf_logger_find_get(int pf, enum nf_log_type type)
{
struct nf_logger *logger;