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
..
2009-02-08 20:22:19 -08:00
2008-11-25 17:59:27 -08:00
2009-02-01 00:45:17 -08:00
2008-07-16 20:20:11 -07:00
2008-11-25 17:59:27 -08:00
2008-11-03 18:21:05 -08:00
2009-01-26 20:56:10 -08:00
2008-11-25 17:30:50 -08:00
2008-10-07 08:38:24 +11:00
2008-10-07 08:38:24 +11:00
2009-02-16 00:08:56 -08:00
2008-06-11 21:00:38 -07:00
2008-11-03 18:21:05 -08:00
2008-11-02 00:28:10 -07:00
2008-11-12 01:41:09 -08:00
2008-12-09 00:13:04 -08:00
2009-02-08 20:22:19 -08:00