netfilter: simplify warning message
Subsystems (2)
PATCH 1/1 netfilter: simplify warning message
This patch remove variable part from a debug message to have message concatenation from syslog.
--- net/netfilter/nfnetlink_queue.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
net/netfilter/nfnetlink_queue.c +2 -2
@@ -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; }
Signature · 1 line
1.6.1
Quoted 2 lines · Eric Leblond
This patch remove variable part from a debug message to have message concatenation from syslog.
It also makes the message less informative, but OK, this information is not particulary important and available through proc anyways.
But I do need a Signed-off-by: line :)
PATCH 1/1 netfilter: simplify warning message
This patch remove variable part from a debug message to have message concatenation from syslog.
Signed-off-by Eric Leblond <[email protected]>
--- net/netfilter/nfnetlink_queue.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
net/netfilter/nfnetlink_queue.c +2 -2
@@ -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; }
Signature · 1 line
1.6.1
Patrick McHardy
AppliedQuoted 4 lines · Eric Leblond
This patch remove variable part from a debug message to have message concatenation from syslog.
Signed-off-by Eric Leblond <[email protected]>
Applied, thanks Eric.