From 7957e16d0220e3599763029084820ecc482aa458 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Sun, 26 Aug 2012 10:13:59 +0000 Subject: [PATCH] Fixed kernel crash when keepalive timer expires. git-svn-id: svn://kolibrios.org@2936 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/branches/net/network/tcp_timer.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kernel/branches/net/network/tcp_timer.inc b/kernel/branches/net/network/tcp_timer.inc index 816914b8a8..01f11b355b 100644 --- a/kernel/branches/net/network/tcp_timer.inc +++ b/kernel/branches/net/network/tcp_timer.inc @@ -43,6 +43,9 @@ local .exit push ebx mov cl, TH_ACK call TCP_respond_socket +; and [ebx + TCP_SOCKET.t_flags], TF_ACKNOW ;; +; mov eax, ebx ;; +; call TCP_output ;; pop ebx jmp .loop @@ -96,7 +99,9 @@ local .exit DEBUGF 1,"socket %x: Keepalive expired\n", eax + push eax call TCP_disconnect + pop eax jmp .loop .check_more3: