From: Patrick McHardy <kaber@trash.net>
To: Eric Leblond <eric@inl.fr>, David Miller <davem@davemloft.net>,
jameshough@bemac.com, netfilter-devel@vger.kernel.org
Subject: Re: Large packets received from the queue
Date: Wed, 14 May 2008 10:53:52 +0200 [thread overview]
Message-ID: <482AA8A0.5090604@trash.net> (raw)
In-Reply-To: <20080514084814.GA10392@khasse.inl.fr>
Eric Leblond wrote:
> Hello,
>
> On Tuesday, 2008 May 13 at 18:15:48 -0700, David Miller wrote:
>> From: "james hough" <jameshough@bemac.com>
>> Date: Tue, 13 May 2008 13:56:23 +0100
>>
>>> the problem I have is that my app is receiving larger than MTU packets off
>>> the queue, often in excess of 2000bytes. The MTU is set to 1500 and the
>>> problem only seems to occur on outbound traffic when doing file uploads. in
>>> this case I am doing an FTP put.
>> These are TSO frames, and you must handle them.
>
> Or maybe just loopback packet and as default loopback MTU is 16436 ;)
Actually we segment TSO frames before queuing because packet
modifications broke TSO. Packets that are going to be fragmented
are received before fragmentation, this shouldn't happen with
TCP however. Maybe there's rerouting involved or something like
that, which could cause TCP to use an incorrect MSS.
In any case Dave is correct, packets larger than the MTU need
to be handled by userspace.
next prev parent reply other threads:[~2008-05-14 8:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-13 12:56 Large packets received from the queue james hough
2008-05-14 1:15 ` David Miller
2008-05-14 8:48 ` Eric Leblond
2008-05-14 8:53 ` Patrick McHardy [this message]
2008-05-14 10:06 ` David Miller
2008-05-14 10:09 ` Patrick McHardy
2008-05-14 9:08 ` james hough
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=482AA8A0.5090604@trash.net \
--to=kaber@trash.net \
--cc=davem@davemloft.net \
--cc=eric@inl.fr \
--cc=jameshough@bemac.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox