netfilter 18/62: nfnetlink_queue: simplify warning message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit a5d896adf019143adf72d08826fe5359b6a8762c
Author: Eric Leblond <eric@xxxxxx>
Date:   Mon Jan 18 09:44:39 2010 +0100

    netfilter: nfnetlink_queue: simplify warning message
    
    This patch remove variable part from a debug message to have
    message concatenation from syslog.
    
    Signed-off-by: Eric Leblond <eric@xxxxxx>
    Signed-off-by: Patrick McHardy <kaber@xxxxxxxxx>

diff --git a/net/netfilter/nfnetlink_queue.c b/net/netfilter/nfnetlink_queue.c
index 5c589b2..90cf36d 100644
--- a/net/netfilter/nfnetlink_queue.c
+++ b/net/netfilter/nfnetlink_queue.c
@@ -414,8 +414,8 @@ nfqnl_enqueue_packet(struct nf_queue_entry *entry, unsigned int queuenum)
 		queue->queue_dropped++;
 		if (net_ratelimit())
 			  printk(KERN_WARNING "nf_queue: full at %d entries, "
-				 "dropping packets(s). Dropped: %d\n",
-				 queue->queue_total, queue->queue_dropped);
+				 "dropping packets(s).\n",
+				 queue->queue_total);
 		goto err_out_free_nskb;
 	}
 
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux