Skip to contentSkip to conversation

PATCH] nfnetlink_queue Fix typo on debug message

PATCH Eric Leblond 2 participants 2 messages Aug 10, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

This patch fixes a trivial typo in nfnetlink_queue.

---
 net/netfilter/nfnetlink_queue.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
net/netfilter/nfnetlink_queue.c +1 -1
index 86a4ac3..d9a2ad8 100644
@@ -584,7 +584,7 @@ nfqnl_enqueue_packet(struct sk_buff *skb
                 queue->queue_dropped++;
 		status = -ENOSPC;
 		if (net_ratelimit())
-		          printk(KERN_WARNING "ip_queue: full at %d entries, "
+		          printk(KERN_WARNING "nf_queue: full at %d entries, "
 				 "dropping packets(s). Dropped: %d\n", 
 				 queue->queue_total, queue->queue_dropped);
 		goto err_out_free_nskb;
Signature · 1 line
1.4.1
#1 lore raw
Quoted 12 lines · Eric Leblond

This patch fixes a trivial typo in nfnetlink_queue.

---
 net/netfilter/nfnetlink_queue.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
net/netfilter/nfnetlink_queue.c +0 -0
index 86a4ac3..d9a2ad8 100644

net/netfilter/nfnetlink_queue.c nfqnl_enqueue_packet(struct sk_buff *skb · line 590

Quoted 8 lines
net/netfilter/nfnetlink_queue.c +1 -1
@@ -584,7 +584,7 @@ nfqnl_enqueue_packet(struct sk_buff *skb
                 queue->queue_dropped++;
 		status = -ENOSPC;
 		if (net_ratelimit())
-		          printk(KERN_WARNING "ip_queue: full at %d entries, "
+		          printk(KERN_WARNING "nf_queue: full at %d entries, "
 				 "dropping packets(s). Dropped: %d\n", 
 				 queue->queue_total, queue->queue_dropped);
 		goto err_out_free_nskb;

You missed one spot. It should actually say nfnetlink_queue I guess, but I'm too lazy to fix up all those printks :)