linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] question about udp fragmentation under UML
@ 2005-01-18  6:28 Yari Adán Petralanda
  2005-01-19 21:54 ` Blaisorblade
  0 siblings, 1 reply; 3+ messages in thread
From: Yari Adán Petralanda @ 2005-01-18  6:28 UTC (permalink / raw)
  To: user-mode-linux-devel

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

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. 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 don't know if it's a UML problem, but when I saw that not only my code, but 
netcat also drops frames, it stranged me.

Thank you very much

-- 
   .-.    
    oo|    Yari Adán Petralanda, a.k.a. mustang
   /`'\          
  (\_;/)           http://www.yadan.org
              Registered Linux User #257290                     
--
Nothing so needs reforming as other people's habits.
  -- Mark Twain, "Pudd'nhead Wilson's Calendar"

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-01-20 22:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox