Fixed kernel crash when keepalive timer expires.

git-svn-id: svn://kolibrios.org@2936 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2012-08-26 10:13:59 +00:00
parent 3e0a804c48
commit 7957e16d02

View File

@ -43,6 +43,9 @@ local .exit
push ebx push ebx
mov cl, TH_ACK mov cl, TH_ACK
call TCP_respond_socket call TCP_respond_socket
; and [ebx + TCP_SOCKET.t_flags], TF_ACKNOW ;;
; mov eax, ebx ;;
; call TCP_output ;;
pop ebx pop ebx
jmp .loop jmp .loop
@ -96,7 +99,9 @@ local .exit
DEBUGF 1,"socket %x: Keepalive expired\n", eax DEBUGF 1,"socket %x: Keepalive expired\n", eax
push eax
call TCP_disconnect call TCP_disconnect
pop eax
jmp .loop jmp .loop
.check_more3: .check_more3: