]> git.baikalelectronics.ru Git - kernel.git/commit
[NETFILTER]: Restore {ipt,ip6t,ebt}_LOG compatibility
authorPatrick McHardy <kaber@trash.net>
Mon, 27 Feb 2006 21:04:17 +0000 (13:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Feb 2006 21:04:17 +0000 (13:04 -0800)
commit4f721b961f24a4da2b75431b198904a8ba636085
treeff5c6538eeebceee2b3b5b137d6c66e8d28e77f1
parent4ad3bd1f2f8d33579b11c6a7053f8ceb985b7097
[NETFILTER]: Restore {ipt,ip6t,ebt}_LOG compatibility

The nfnetlink_log infrastructure changes broke compatiblity of the LOG
targets. They currently use whatever log backend was registered first,
which means that if ipt_ULOG was loaded first, no messages will be printed
to the ring buffer anymore.

Restore compatiblity by using the old log functions by default and only use
the nf_log backend if the user explicitly said so.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter_bridge/ebt_log.h
include/linux/netfilter_ipv4/ipt_LOG.h
include/linux/netfilter_ipv6/ip6t_LOG.h
net/bridge/netfilter/ebt_log.c
net/ipv4/netfilter/ipt_LOG.c
net/ipv6/netfilter/ip6t_LOG.c