forked from KolibriOS/kolibrios
Bugfix for TCP advertised window calculation.
git-svn-id: svn://kolibrios.org@6909 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
caf7d0c041
commit
f4e464bc8a
@ -1,6 +1,6 @@
|
|||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; Copyright (C) KolibriOS team 2004-2016. All rights reserved. ;;
|
;; Copyright (C) KolibriOS team 2004-2017. All rights reserved. ;;
|
||||||
;; Distributed under terms of the GNU General Public License ;;
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; Part of the TCP/IP network stack for KolibriOS ;;
|
;; Part of the TCP/IP network stack for KolibriOS ;;
|
||||||
@ -487,7 +487,7 @@ endl
|
|||||||
mov ecx, [eax + TCP_SOCKET.RCV_ADV]
|
mov ecx, [eax + TCP_SOCKET.RCV_ADV]
|
||||||
sub ecx, [eax + TCP_SOCKET.RCV_NXT]
|
sub ecx, [eax + TCP_SOCKET.RCV_NXT]
|
||||||
cmp ebx, ecx
|
cmp ebx, ecx
|
||||||
ja @f
|
jg @f
|
||||||
mov ebx, ecx
|
mov ebx, ecx
|
||||||
@@:
|
@@:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user