From: "Yari Adán Petralanda" <mustang@yadan.org>
To: Blaisorblade <blaisorblade@yahoo.it>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] question about udp fragmentation under UML
Date: Thu, 20 Jan 2005 23:11:29 +0100 [thread overview]
Message-ID: <200501202311.38548.mustang@yadan.org> (raw)
In-Reply-To: <200501192254.24207.blaisorblade@yahoo.it>
[-- Attachment #1: Type: text/plain, Size: 2097 bytes --]
Hi again,
Problem solved with 2.6.9 vanilla and 2.6.9-bb4. Thank you very much for your
answer, and sorry for not testing it on the latest kernels before. I thought
there were no new versions when I saw 2.6.8.1 last on the website. Didnt knew
2.6.9 works right out of the box,
Thank you again
El Miércoles, 19 de Enero de 2005 22:54, escribió:
> On Tuesday 18 January 2005 07:28, Yari Adán Petralanda wrote:
> > Hi,
> >
> > I'm developing a network block device, which uses both TCP and UDP
> > sockets to transmit it's data. When I try to send UDP frames bigger than
> > the MTU, they are dropped before they hit the wire.
>
> This exact problem (a checksum corruption in fragmented UDP packets) was
> already debugged and solved, and even vanilla 2.6.9 includes the fix...
> currently the recommended tree is 2.6.9-bb4 on my homepage.
>
> I assume that you should first try 2.6.9-bb and, if you still have
> problems, ask again... Anyway please post an ack about whether 2.6.9-bb
> solves this bug, ok? Thanks.
>
> > Trying to debug the problem, I
> > ran netcat using udp under a UML. It uses writes of 8192 bytes over a UDP
> > socket. The scenario that made me post here is this:
> > running UML on tracing thread mode, host kernel is 2.6.10, uml kernel is
> > 2.6.8.1-1um,
> >
> > if I set the MTU of the localhost device (same problem on
> > tun/tap) to 1500 bytes, netcat doesn't receive any frames sent to the
> > loopback interface. path_mtu_no_discover is 0. The same scenario, on my
> > host computer, runs fine.
> >
> > Seems to me that IP is refusing to fragment the udp datagrams, and drops
> > them.
>
> I've debugged this with ethereal and the result was that the checksum, in
> the case of fragmented packets, was wrong - so the receiving side dropped
> the packets...
>
> Bye
--
.-.
oo| Yari Adán Petralanda, a.k.a. mustang
/`'\
(\_;/) http://www.yadan.org
Registered Linux User #257290
--
You will be audited by the Internal Revenue Service.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2005-01-20 22:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-18 6:28 [uml-devel] question about udp fragmentation under UML Yari Adán Petralanda
2005-01-19 21:54 ` Blaisorblade
2005-01-20 22:11 ` Yari Adán Petralanda [this message]
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=200501202311.38548.mustang@yadan.org \
--to=mustang@yadan.org \
--cc=blaisorblade@yahoo.it \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/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