xfs
[Top] [All Lists]

Re: #undef TCP_DEBUG

To: linux-xfs@xxxxxxxxxxx
Subject: Re: #undef TCP_DEBUG
From: Eric Sandeen <sandeen@xxxxxxx>
Date: Sat, 13 Jan 2001 22:27:09 -0600
References: <20010114011416.A732@main.braxis.co.uk>
Sender: owner-linux-xfs@xxxxxxxxxxx
These are the only printks that get turned on w/ TCP_DEBUG, all
seemingly related to bad things happening:

printk(KERN_DEBUG "TCP: peer %u.%u.%u.%u:%u/%u shrinks window %u:%u:%u.
Bad, what else can I say?\n",
printk("BUG: retransmit in tcp_data_queue: seq %X\n",
TCP_SKB_CB(skb)->seq);
printk(KERN_DEBUG "*** tcp.c:tcp_data bug acked < copied\n")
printk(KERN_DEBUG "reset_xmit_timer sk=%p %d when=0x%lx, caller=%p\n",
printk("TCP: double destroy sk=%p\n", sk);

If those are filling up your logs, I'd say there's a bigger problem to
solve than a #define.  :)

-Eric

sooo lame wrote:
> 
> Hi.
> 
> Wouldn't it be a good idea to undef TCP_DEBUG in include/tcp.h ,
> it's only cosmetic change (unless you modify tcp code ;-) )
> 
> I don't want my logs to grow as fast as they do now... :)
> 
>  - Krzysztof

<Prev in Thread] Current Thread [Next in Thread>