kernel_optimize_test/net
Eric Leblond ca735b3aaa netfilter: use a linked list of loggers
This patch modifies nf_log to use a linked list of loggers for each
protocol. This list of loggers is read and write protected with a
mutex.

This patch separates registration and binding. To be used as
logging module, a module has to register calling nf_log_register()
and to bind to a protocol it has to call nf_log_bind_pf().
This patch also converts the logging modules to the new API. For nfnetlink_log,
it simply switchs call to register functions to call to bind function and
adds a call to nf_log_register() during init. For other modules, it just
remove a const flag from the logger structure and replace it with a
__read_mostly.

Signed-off-by: Eric Leblond <eric@inl.fr>
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-03-16 14:54:21 +01:00
..
9p
802
8021q
appletalk
atm
ax25
bluetooth
bridge
can
core
dcb
dccp
decnet
dsa
econet
ethernet
ipv4 netfilter: use a linked list of loggers 2009-03-16 14:54:21 +01:00
ipv6 netfilter: use a linked list of loggers 2009-03-16 14:54:21 +01:00
ipx
irda
iucv
key
lapb
llc
mac80211
netfilter netfilter: use a linked list of loggers 2009-03-16 14:54:21 +01:00
netlabel
netlink
netrom
packet
phonet
rfkill
rose
rxrpc
sched
sctp
sunrpc
tipc
unix
wanrouter
wimax
wireless
x25
xfrm
compat.c
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c
TUNABLE