All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Jarosch <thomas.jarosch@intra2net.com>
To: Netdev <netdev@vger.kernel.org>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH] tcp FRTO: in-order-only "TCP proxy" fragility workaround
Date: Mon, 25 Aug 2008 18:45:40 +0200	[thread overview]
Message-ID: <200808251845.41164.thomas.jarosch@intra2net.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1598 bytes --]

Forward mail. Upgrading to KDE 4.1.0/kdepim4 from KDE 3.5.9
enabled HTML emails by default and I didn't notice it before.

----------  Forwarded Message  ----------

Subject: Re: [PATCH] tcp FRTO: in-order-only "TCP proxy" fragility workaround
Date: Monday, 25. August 2008
From: Thomas Jarosch <thomas.jarosch@intra2net.com>
To: "Ilpo Järvinen" <ilpo.jarvinen@helsinki.fi>

On Friday, 22. August 2008 23:18:44 Ilpo Järvinen wrote:
> In the meantime, can you check the attached patches. Besides the kernel
> patch, you need to build your own patched iproute2 as well to configure
> the features (ip tool among them is enough in case the build of some other
> part of the toolset fails like it did for me). I somewhat tested them, and
> the result seemed to be what I'd expect (I just forced RTOs with some
> netem heavy dropping and quickly glanced over the resulting packet
> patterns near RTO).

Your patches work fine.

I've noticed two small things:
1. Maybe it's a good idea to add a note above the tcp_use_frto() change
to explain that the value is negated. Took me a while to figure out
why there is no "!" in there :-)
2. Maybe rename the "features" option in iproute2 to "disable_features".
Then it would be more intuitive what it does.


btw: If you apply something to the iproute2 git tree,
I got a compiler error while testing the patch:

In file included from lnstat.c:40:
lnstat.h:28: error: field 'last_read' has incomplete type
lnstat.h:29: error: field 'interval' has incomplete type

Attached small patch fixes the issue.

Cheers,
Thomas


[-- Attachment #2: iproute2-fix-include-for-timeval.patch --]
[-- Type: text/x-patch, Size: 552 bytes --]

Fix this compile error:

In file included from lnstat.c:40:
lnstat.h:28: error: field 'last_read' has incomplete type
lnstat.h:29: error: field 'interval' has incomplete type

Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>

diff -u -r iproute2-2.6.25/misc/lnstat.h iproute2.timeval/misc/lnstat.h
--- iproute2-2.6.25/misc/lnstat.h	Thu Apr 17 19:12:54 2008
+++ iproute2.timeval/misc/lnstat.h	Mon Aug 25 17:48:33 2008
@@ -2,6 +2,7 @@
 #define _LNSTAT_H
 
 #include <limits.h>
+#include <sys/time.h>
 
 #define LNSTAT_VERSION "0.02 041002"
 

             reply	other threads:[~2008-08-25 16:45 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-25 16:45 Thomas Jarosch [this message]
2008-08-26 12:03 ` [PATCH] tcp FRTO: in-order-only "TCP proxy" fragility workaround Ilpo Järvinen
  -- strict thread matches above, loose matches on Subject: below --
2008-03-26  8:47 Transfer stalls with NAT under 2.6.24.3 Sven Riedel
2008-07-31  7:39 ` TCP connection stalls under 2.6.24.7 Thomas Jarosch
2008-07-31 12:44   ` Dâniel Fraga
2008-07-31 13:47     ` Thomas Jarosch
2008-08-06 18:53       ` Dâniel Fraga
2008-08-07 11:33         ` [PATCH] tcp FRTO: in-order-only "TCP proxy" fragility workaround Ilpo Järvinen
2008-08-08  4:42           ` Bill Fink
2008-08-08 10:32             ` Ilpo Järvinen
2008-08-11 21:44               ` David Miller
2008-08-12  7:46                 ` Thomas Jarosch
2008-08-12  8:18                   ` David Miller
2008-08-12 17:43                     ` Dâniel Fraga
2008-08-12 17:52                       ` Ilpo Järvinen
2008-08-13 17:53                         ` Dâniel Fraga
2008-08-13 18:34                           ` Ilpo Järvinen
2008-08-15  4:34                             ` Dâniel Fraga
2008-08-15  7:06                               ` Ilpo Järvinen
2008-08-15 21:35                                 ` Dâniel Fraga
2008-08-15 22:06                                   ` Ilpo Järvinen
2008-08-15 23:57                                     ` Dâniel Fraga
2008-08-16  2:15                                     ` Dâniel Fraga
2008-08-16  7:10                                       ` Ilpo Järvinen
2008-08-16 19:18                                         ` Ilpo Järvinen
2008-08-17  0:36                                           ` Dâniel Fraga
2008-08-19 10:38                                             ` Ilpo Järvinen
2008-08-20  0:34                                               ` Dâniel Fraga
2008-08-20  7:57                                                 ` Ilpo Järvinen
2008-08-20 12:37                                                 ` Ilpo Järvinen
2008-08-22 21:32                                                   ` Dâniel Fraga
2008-08-22 21:37                                                     ` David Miller
2008-08-23 14:14                                                       ` Dâniel Fraga
2008-08-23 14:38                                                         ` Ilpo Järvinen
2008-08-24 19:38                                                           ` Dâniel Fraga
2008-08-26 14:10                                                             ` Ilpo Järvinen
2008-08-26 14:32                                                               ` Ilpo Järvinen
2008-08-26 17:18                                                               ` Dâniel Fraga
2008-08-26 20:40                                                                 ` Ilpo Järvinen
2008-08-26 21:17                                                                   ` Dâniel Fraga
2008-08-27 10:22                                                                     ` Ilpo Järvinen
2008-08-27 19:51                                                                       ` Dâniel Fraga
2008-08-27 20:32                                                                         ` Ilpo Järvinen
2008-08-27 20:50                                                                           ` Dâniel Fraga
2008-08-27 21:25                                                                             ` Ilpo Järvinen
2008-08-27 21:42                                                                               ` Dâniel Fraga
2008-08-27 22:24                                                                                 ` Dâniel Fraga
2008-08-28 21:49                                                                   ` Dâniel Fraga
2008-08-29 13:07                                                                     ` Ilpo Järvinen
2008-08-29 17:41                                                                       ` Dâniel Fraga
2008-09-01  7:11                                                                         ` Ilpo Järvinen
2008-08-30  6:56                                                                       ` Dâniel Fraga
2008-09-01  7:11                                                                         ` Ilpo Järvinen
2008-09-07  8:17                                                                           ` Dâniel Fraga
2008-09-08 10:27                                                                             ` Ilpo Järvinen
2008-09-08 20:20                                                                               ` Dâniel Fraga
2008-09-11 13:44                                                                                 ` Ilpo Järvinen
2008-09-11 17:30                                                                                   ` Dâniel Fraga
2008-09-12 10:16                                                                                     ` Ilpo Järvinen
2008-09-13 23:31                                                                                       ` Dâniel Fraga
2008-09-16 12:10                                                                                         ` Ilpo Järvinen
2008-09-16 14:24                                                                                           ` Dâniel Fraga
2008-09-17 10:23                                                                                             ` Ilpo Järvinen
2008-09-18 20:35                                                                                               ` Dâniel Fraga
2008-09-18 21:04                                                                                                 ` Ilpo Järvinen
2008-09-21  3:02                                                                                                   ` Dâniel Fraga
2008-09-22  4:23                                                                                                   ` Dâniel Fraga
2008-09-22 11:22                                                                                                     ` Ilpo Järvinen
2008-09-22 16:13                                                                                                       ` Dâniel Fraga
2008-09-15 19:42                                                                                       ` Dâniel Fraga
2008-09-11 18:12                                                                                   ` Dâniel Fraga
2008-08-15 21:59                                 ` Dâniel Fraga
2008-08-13  8:00                     ` Thomas Jarosch
2008-08-22 21:18                   ` Ilpo Järvinen
2008-08-11 21:41             ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200808251845.41164.thomas.jarosch@intra2net.com \
    --to=thomas.jarosch@intra2net.com \
    --cc=netdev@vger.kernel.org \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.