Re: [RFC][PATCH][NET] Fix never pruned tcp out-of-order queue
From: Vitaliy Gusev
Date: Tue Apr 15 2008 - 04:24:40 EST
On 15 April 2008 12:18:10 David Miller wrote:
> From: Andi Kleen <andi@xxxxxxxxxxxxxx>
> Date: Tue, 15 Apr 2008 10:14:56 +0200
>
> > The main difference seems to be that
> > sk_rmem_schedule/__sk_mem_schedule is called more often, but it is
> > unclear how this affects the ooo pruning which only checks
> > the queue length anyways.
>
> tcp_data_queue() would not do the tcp_prune_ofo_queue() in some
> cases, it's the whole point of the patch.
Yes, if second sk_rmem_schedule() failed then tcp_prune_ofo_queue() is force called
and try sk_rmem_schedule() again.
--
Thank,
Vitaliy Gusev
--
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/