]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
netfilter: nf_log_ipv4: rename to nf_log_syslog
authorFlorian Westphal <fw@strlen.de>
Thu, 25 Mar 2021 17:25:05 +0000 (18:25 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 30 Mar 2021 22:37:27 +0000 (00:37 +0200)
commitdb3187ae21bb0cff44430a7510cf2d2b23e41cd8
tree98b9173502e198ceabbee841faca8eb4e3511ea6
parentcda1893e9f7c1d78e391dbb6ef1798cd32354113
netfilter: nf_log_ipv4: rename to nf_log_syslog

Netfilter has multiple log modules:
 nf_log_arp
 nf_log_bridge
 nf_log_ipv4
 nf_log_ipv6
 nf_log_netdev
 nfnetlink_log
 nf_log_common

With the exception of nfnetlink_log (packet is sent to userspace for
dissection/logging), all of them log to the kernel ringbuffer.

This is the first part of a series to merge all modules except
nfnetlink_log into a single module: nf_log_syslog.

This allows to reduce code.  After the series, only two log modules remain:
nfnetlink_log and nf_log_syslog. The latter provides the same
functionality as the old per-af log modules.

This renames nf_log_ipv4 to nf_log_syslog.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/Kconfig
net/ipv4/netfilter/Makefile
net/ipv4/netfilter/nf_log_ipv4.c [deleted file]
net/netfilter/Kconfig
net/netfilter/Makefile
net/netfilter/nf_log_syslog.c [new file with mode: 0644]