netdev
[Top] [All Lists]

Re: 2.6.9 failed assertion in tcp_timer.c

To: Phil Oester <kernel@xxxxxxxxxxxx>
Subject: Re: 2.6.9 failed assertion in tcp_timer.c
From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 22 Oct 2004 07:57:43 +1000
Cc: linux-net@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, "David S. Miller" <davem@xxxxxxxxxxxxx>
In-reply-to: <20041021165224.GA25399@xxxxxxxxxxxx>
References: <20041019215054.GA17565@xxxxxxxxxxxx> <E1CK3Az-0004P2-00@xxxxxxxxxxxxxxxxxxxxxxxx> <20041020164748.GA20905@xxxxxxxxxxxx> <20041020212651.GA8534@xxxxxxxxxxxxxxxxxxx> <20041020225536.GA22179@xxxxxxxxxxxx> <20041021130339.GA19345@xxxxxxxxxxxxxxxxxxx> <20041021165224.GA25399@xxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6+20040722i
On Thu, Oct 21, 2004 at 09:52:24AM -0700, Phil Oester wrote:
> 
> KERNEL: assertion (!tcp_get_pcount(&tp->packets_out) || !skb_
>       queue_empty(&sk->sk_write_queue)) failed at net/ipv4/tcp_input.c (2496)

Perhaps the MTU is growing upwards? Does this patch help?

Dave, we need to use the skb's MSS in trim_head as otherwise the
counters will be screwed up.

Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Attachment: p
Description: Text document

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