Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Kernel (http://www.linux-archive.org/debian-kernel/)
-   -   Bug#478062: Fix FRTO+NewReno problem (http://www.linux-archive.org/debian-kernel/84240-bug-478062-fix-frto-newreno-problem.html)

David Miller 05-08-2008 08:10 AM

Bug#478062: Fix FRTO+NewReno problem
 
From: "Ilpo_Järvinen" <ilpo.jarvinen@helsinki.fi>
Date: Thu, 8 May 2008 01:26:59 +0300 (EEST)

> [PATCH] [TCP] FRTO: SACK variant is errorneously used with NewReno

I applied this with a minor coding style fixup.

From: "Ilpo_Järvinen" <ilpo.jarvinen@helsinki.fi>
Date: Thu, 8 May 2008 01:26:59 +0300 (EEST)

> +static int tcp_is_sackfrto(const struct tcp_sock *tp) {
> + return (sysctl_tcp_frto == 0x2) && !tcp_is_reno(tp);
> +}
> +

Should be:

static int tcp_is_sackfrto(const struct tcp_sock *tp)
{
return (sysctl_tcp_frto == 0x2) && !tcp_is_reno(tp);
}

I will also queue this up to -stable, thanks so much for
this bug fix!



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Brian Burch 07-07-2008 01:49 PM

Bug#478062: Fix FRTO+NewReno problem
 
I reported a problem upgrading from ubuntu dapper to hardy where
printing to an ethernet-connected HP Laserjet 2200 using a PrintSir
using LPR/LPD protocol always fails. See
https://bugs.launchpad.net/bugs/225603


I didn't get a response, so finally decided to run a sniffer trace when
printing a small file (is any file less than huge when printed as
postscript?). After a boring start to the session, I could see it became
stuck in a retransmission deadlock where the ack's never quite matched
up with the LPR data packets.


This kernel bug came up as the only hit when I did a search. I have
tried the net.ipv4.tcp_frto circumvention on three different machines:


Pentium III 500 mHz with 2.6.24-19-generic (Ubuntu 4.2.3-2ubuntu7) -
tcp_frto 0 works occasionally; 1 or 2 always hang, but with slightly
different printer symptoms.


Pentium IV 3 gHz with 2.6.24-rt - always hangs, with tcp_frto 0, 1, or 2.

Pentium IV 3gHz with 2.6.22-14-generic works fine, with default tcp_frto
== tcp_frto_response == 0.


Can I help you with this bug, or do you already have all the diagnostic
information you need?


Regards,

Brian




--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


All times are GMT. The time now is 03:53 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.