Messages in this thread | | | Date | Mon, 1 Jun 1998 12:00:56 +0300 (EET DST) | From | Viljar Tulit <> | Subject | funny TCP (part 2) |
| |
hi,
problem: I have two machines on Fast Ethernet. viluvere is fast machine with NT 4.0. sats is slow machine with Linux 2.1.103. ftp transfer from viluvere to sats is very slow or stops at all.
what happens is that when sats advertises 0 sized window (frame #1704) and viluvere still sends a single byte to it (rfc793 allows to do this) (frame #1705) then sats increases his window to 65536 (frame #1706). i think that there is bug in tcp_receive_window function (tcp.h). when rcv_wup is < rcv_nxt the answer should be 0 not -1.
1702 2.652 sats viluvere TCP .A...., len: 0, seq: 546991511-546991511, ack:1460827457, win: 1460, src: 3643 dst: 2223
1703 2.653 viluvere sats TCP .A...., len: 1460, seq:1460827457-1460828916, ack: 546991511, win: 8760, src: 2223 dst: 3643
1704 2.738 sats viluvere TCP .A...., len: 0, seq: 546991511-546991511, ack:1460828917, win: 0, src: 3643 dst: 2223
1705 3.053 viluvere sats TCP .A...., len: 1, seq:1460828917-1460828917, ack: 546991511, win: 8760, src: 2223 dst: 3643
1706 3.488 sats viluvere TCP .A...., len: 0, seq: 546991511-546991511, ack:1460828918, win:65535, src: 3643 dst: 2223
1707 3.489 viluvere sats TCP .AP..., len: 1460, seq:1460828918-1460830377, ack: 546991511, win: 8760, src: 2223 dst: 3643
1708 3.489 viluvere sats TCP .A...., len: 1460, seq:1460830378-1460831837, ack: 546991511, win: 8760, src: 2223 dst: 3643
1709 3.489 viluvere sats TCP .A...., len: 1460, seq:1460831838-1460833297, ack: 546991511, win: 8760, src: 2223 dst: 3643
1710 3.489 viluvere sats TCP .AP..., len: 1460, seq:1460833298-1460834757, ack: 546991511, win: 8760, src: 2223 dst: 3643
1711 3.489 viluvere sats TCP .A...., len: 1460, seq:1460834758-1460836217, ack: 546991511, win: 8760, src: 2223 dst: 3643
1712 3.489 viluvere sats TCP .A...., len: 1460, seq:1460836218-1460837677, ack: 546991511, win: 8760, src: 2223 dst: 3643
1713 3.489 viluvere sats TCP .AP..., len: 39, seq:1460837678-1460837716, ack: 546991511, win: 8760, src: 2223 dst: 3643
1714 3.493 sats viluvere TCP .A...., len: 0, seq: 546991511-546991511, ack:1460831838, win:62615, src: 3643 dst: 2223
1715 3.495 viluvere sats TCP .A...., len: 1460, seq:1460837717-1460839176, ack: 546991511, win: 8760, src: 2223 dst: 3643
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |