Re: [PATCH] net: Remove a noisy printk

From: Jan Engelhardt
Date: Sat Dec 13 2008 - 17:13:31 EST



On Friday 2008-12-12 05:32, David Miller wrote:
>From: Adam Jackson <ajax@xxxxxxxxxx>
>Date: Thu, 11 Dec 2008 17:13:42 -0500
>
>> From: Dave Jones <davej@xxxxxxxxxx>
>>
>> These messages are trivial to trigger when running stress tests
>> like isic, and add no real value.
>>
>> Signed-off-by: Dave Jones <davej@xxxxxxxxxx>
>> Signed-off-by: Adam Jackson <ajax@xxxxxxxxxx>
>
>If you don't send this to the netfilter developers nor the networking
>developers, noboby knowledgable can even look at this patch.

(For the archive, it's not the Internation Student Identity Card)
http://www.packetfactory.net/Projects/ISIC/ :

âISIC is a suite of utilities to exercise the stability of an IP
Stack and its component stacks (TCP, UDP, ICMP et. al.) It generates
piles of pseudo random packets of the target protocol.â

>> @@ -147,8 +147,6 @@ static unsigned int ipv4_conntrack_local(unsigned int hooknum,
>> /* root is playing with raw sockets. */
>> if (skb->len < sizeof(struct iphdr) ||
>> ip_hdrlen(skb) < sizeof(struct iphdr)) {
>> - if (net_ratelimit())
>> - printk("ipt_hook: happy cracking.\n");
>> return NF_ACCEPT;
>> }
>> return nf_conntrack_in(dev_net(out), PF_INET, hooknum, skb);

I think this change is ok.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/