From c23792822feb36189e8647f0cc3fc568520849d8 Mon Sep 17 00:00:00 2001 From: ashmew2 Date: Tue, 30 May 2017 16:41:35 +0000 Subject: [PATCH] TCP Fast ACK: Fix advertised window size git-svn-id: svn://kolibrios.org@6913 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/network/tcp_subr.inc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/kernel/trunk/network/tcp_subr.inc b/kernel/trunk/network/tcp_subr.inc index 6ea0454839..0cf2b3e073 100644 --- a/kernel/trunk/network/tcp_subr.inc +++ b/kernel/trunk/network/tcp_subr.inc @@ -1,6 +1,6 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; -;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;; +;; Copyright (C) KolibriOS team 2004-2017. All rights reserved. ;; ;; Distributed under terms of the GNU General Public License ;; ;; ;; ;; Part of the TCP/IP network stack for KolibriOS ;; @@ -303,9 +303,8 @@ tcp_respond: stosb mov al, cl stosb -; mov ax, [esi + TCP_SOCKET.RCV_WND] -; rol ax, 8 - mov ax, 0x00a0 ;;;;;;; FIXME + mov eax, [esi + TCP_SOCKET.RCV_WND] + xchg al, ah stosw ; window xor eax, eax stosd ; checksum + urgentpointer