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
This commit is contained in:
hidnplayr 2017-10-17 19:59:47 +00:00
parent a396aff3da
commit 144ea3d326

View File

@ -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