Fixed bugs in TCP (crash when closing socket, crash when responding to segment that has no socket)

git-svn-id: svn://kolibrios.org@3270 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr
2013-02-24 17:12:10 +00:00
parent ac6e97fffd
commit 4fe36c5853
3 changed files with 10 additions and 10 deletions

View File

@@ -57,6 +57,7 @@ TCP_usrclosed:
.wait1:
mov [eax + TCP_SOCKET.t_state], TCPS_FIN_WAIT_1
; TODO: set timer?
pop ebx
ret
@@ -67,6 +68,7 @@ TCP_usrclosed:
.disc:
call SOCKET_is_disconnected
; TODO: set timer?
.ret:
pop ebx
ret