From 144ea3d326f9ac4830a1e367a338f7bb708d0b60 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Tue, 17 Oct 2017 19:59:47 +0000 Subject: [PATCH] Use tcp_output instead of tcp_respond to send delayed acks, we need it for correct window advertisement amongst other things... git-svn-id: svn://kolibrios.org@7099 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/network/tcp_timer.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kernel/trunk/network/tcp_timer.inc b/kernel/trunk/network/tcp_timer.inc index 8f19dd10ce..d95848280f 100644 --- a/kernel/trunk/network/tcp_timer.inc +++ b/kernel/trunk/network/tcp_timer.inc @@ -42,10 +42,11 @@ local .exit jz .loop and [ebx + TCP_SOCKET.t_flags], not (TF_DELACK) + or [ebx + TCP_SOCKET.t_flags], TF_ACKNOW push ebx - mov cl, TH_ACK - call tcp_respond + mov eax, ebx + call tcp_output pop ebx inc [TCPS_delack] ; update stats