summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-12-18 07:39:27 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-28 23:59:00 +0100
commita7c42955e036127f793ad955d3ec718494efb1eb (patch)
tree3e59ccc0e4518d61fef9f14d7c45d491ce9f177d
parent[NETFILTER]: nf_log: constify struct nf_logger and nf_log_packet loginfo arg (diff)
downloadlinux-a7c42955e036127f793ad955d3ec718494efb1eb.tar.xz
linux-a7c42955e036127f793ad955d3ec718494efb1eb.zip
[NETFILTER]: nf_log: remove incomprehensible comment
Whatever that comment tries to say, I don't get it and it looks like a leftover from the time when RCU wasn't used properly. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/netfilter/nf_log.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/netfilter/nf_log.c b/net/netfilter/nf_log.c
index ed9116dc78b5..4f5f2885fcac 100644
--- a/net/netfilter/nf_log.c
+++ b/net/netfilter/nf_log.c
@@ -91,7 +91,6 @@ void nf_log_packet(int pf,
va_start(args, fmt);
vsnprintf(prefix, sizeof(prefix), fmt, args);
va_end(args);
- /* We must read logging before nf_logfn[pf] */
logger->logfn(pf, hooknum, skb, in, out, loginfo, prefix);
} else if (net_ratelimit()) {
printk(KERN_WARNING "nf_log_packet: can\'t log since "