Re: Bug? Kernels 2.6.2x drops TCP packets over wireless (independentof card used)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Marcin Koziej <marcinkoziej@...>
Cc: <linux-kernel@...>, <netdev@...>
Date: Thursday, February 7, 2008 - 3:24 pm

Marcin Koziej a écrit :

see here wscale = 5, so win = 186880


here, win = 183 is probably not correctly understood by remote peer (as 5856)


1749015234:1749015234(0) win 5840 <mss 1460,sackOK,timestamp 1885141 
0,nop,wscale ²2>

wscale 2 here (instead of 5 on your non working case)
So win = 23360


1:1(0) ack 7 win 1460 <nop,nop,timestamp 1885191 536320613>

this win=1460 is correctly taken by remote peer as 5840 (wscale=2)


Typical window scaling problem here... (well, for previous traces, with 
wscaling of 5, since with wscale 2 it seems to work), you probably have a 
buggy router or something...

http://lwn.net/Articles/92727/

Try :

# echo 0 >/proc/sys/net/ipv4/tcp_window_scaling

And retry to connect to this ftp server

You could alternativly play with /proc/sys/net/ipv4/tcp_rmem

# echo "4096 8192 50000" >/proc/sys/net/ipv4/tcp_rmem


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Bug? Kernels 2.6.2x drops TCP packets over wireless , Marcin Koziej , (Thu Feb 7, 5:04 am)
Re: Bug? Kernels 2.6.2x drops TCP packets over wireless (ind..., Stephen Hemminger, (Thu Feb 7, 12:17 pm)
Re: Bug? Kernels 2.6.2x drops TCP packets over wireless, Marcin Koziej, (Thu Feb 7, 12:12 pm)
Re: Bug? Kernels 2.6.2x drops TCP packets over wireless, Marcin Koziej, (Thu Feb 7, 2:33 pm)
Re: Bug? Kernels 2.6.2x drops TCP packets over wireless (ind..., Eric Dumazet, (Thu Feb 7, 3:24 pm)