Re: WARNING: at net/ipv4/tcp_input.c:2054 tcp_mark_head_lost()

From: Ilpo Järvinen
Date: Wed Feb 27 2008 - 14:29:21 EST


On Wed, 27 Feb 2008, Guillaume Chazarain wrote:

> On Wed, Feb 27, 2008 at 10:29 AM, Ilpo Järvinen
> <ilpo.jarvinen@xxxxxxxxxxx> wrote:
> > I did in the past a debug patch
> > that verifies TCP's write queue state by the hard way, ie., by
> > bruteforce
> > walking often enough to catch inconsistencies early enough to find
> > out
> > the root cause.
>
> Are you talking about this one:
> http://marc.info/?l=linux-netdev&m=119482084511178 ?
> I attached a forward port to current git.

No, I'd much more complete set of tests than in that one.

> I am using this patch, and caught this maybe related error while
> Bittorrenting:
>
> KERNEL: assertion (packets <= tp->packets_out) failed at
> /home/g/linux-2.6/net/ipv4/tcp_input.c (2145)
> KERNEL: assertion (packets <= tp->packets_out) failed at
> /home/g/linux-2.6/net/ipv4/tcp_input.c (2145)
> ------------[ cut here ]------------
> WARNING: at /home/g/linux-2.6/net/ipv4/tcp_input.c:2515
> tcp_fastretrans_alert+0xa5/0xa4f()

You seem to be good in catching these... :-)


--
i.