Revision 4b79f0af48d529a360d3529def01835dc5d45fe1 authored by Ian McDonald on 24 July 2006, 06:33:28 UTC, committed by David S. Miller on 24 July 2006, 19:44:21 UTC
When using the default sequence window size (100) I got the following in
my logs:

Jun 22 14:24:09 localhost kernel: [ 1492.114775] DCCP: Step 6 failed for
DATA packet, (LSWL(6279674225) <= P.seqno(6279674749) <=
S.SWH(6279674324)) and (P.ackno doesn't exist or LAWL(18798206530) <=
P.ackno(1125899906842620) <= S.AWH(18798206548), sending SYNC...
Jun 22 14:24:09 localhost kernel: [ 1492.115147] DCCP: Step 6 failed for
DATA packet, (LSWL(6279674225) <= P.seqno(6279674750) <=
S.SWH(6279674324)) and (P.ackno doesn't exist or LAWL(18798206530) <=
P.ackno(1125899906842620) <= S.AWH(18798206549), sending SYNC...

I went to alter the default sysctl and it didn't take for new sockets.
Below patch fixes this.

I think the default is too low but it is what the DCCP spec specifies.

As a side effect of this my rx speed using iperf goes from about 2.8 Mbits/sec
to 3.5. This is still far too slow but it is a step in the right direction.

Compile tested only for IPv6 but not particularly complex change.

Signed off by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 8fdf679
History
File Mode Size
Kconfig -rw-r--r-- 10.5 KB
Makefile -rw-r--r-- 1.1 KB
aes.c -rw-r--r-- 11.6 KB
anubis.c -rw-r--r-- 27.8 KB
api.c -rw-r--r-- 6.4 KB
arc4.c -rw-r--r-- 2.1 KB
blowfish.c -rw-r--r-- 17.5 KB
cast5.c -rw-r--r-- 34.2 KB
cast6.c -rw-r--r-- 21.5 KB
cipher.c -rw-r--r-- 11.1 KB
compress.c -rw-r--r-- 1.5 KB
crc32c.c -rw-r--r-- 2.5 KB
crypto_null.c -rw-r--r-- 3.3 KB
deflate.c -rw-r--r-- 5.4 KB
des.c -rw-r--r-- 35.4 KB
digest.c -rw-r--r-- 2.8 KB
hmac.c -rw-r--r-- 3.1 KB
internal.h -rw-r--r-- 2.8 KB
khazad.c -rw-r--r-- 51.9 KB
md4.c -rw-r--r-- 6.2 KB
md5.c -rw-r--r-- 7.2 KB
michael_mic.c -rw-r--r-- 3.5 KB
proc.c -rw-r--r-- 2.8 KB
scatterwalk.c -rw-r--r-- 2.8 KB
scatterwalk.h -rw-r--r-- 2.0 KB
serpent.c -rw-r--r-- 20.0 KB
sha1.c -rw-r--r-- 3.1 KB
sha256.c -rw-r--r-- 11.0 KB
sha512.c -rw-r--r-- 10.3 KB
tcrypt.c -rw-r--r-- 34.3 KB
tcrypt.h -rw-r--r-- 103.9 KB
tea.c -rw-r--r-- 7.3 KB
tgr192.c -rw-r--r-- 31.1 KB
twofish.c -rw-r--r-- 45.0 KB
wp512.c -rw-r--r-- 60.3 KB

back to top