forked from KolibriOS/kolibrios
Fix for previous revision
git-svn-id: svn://kolibrios.org@3648 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
3e584a778f
commit
910527aadc
@ -2195,6 +2195,9 @@ SOCKET_check_owner:
|
|||||||
align 4
|
align 4
|
||||||
SOCKET_process_end:
|
SOCKET_process_end:
|
||||||
|
|
||||||
|
pushf
|
||||||
|
cli ; FIXME
|
||||||
|
|
||||||
DEBUGF DEBUG_NETWORK_VERBOSE, "SOCKET_process_end: %x\n", edx
|
DEBUGF DEBUG_NETWORK_VERBOSE, "SOCKET_process_end: %x\n", edx
|
||||||
|
|
||||||
pusha
|
pusha
|
||||||
@ -2219,9 +2222,21 @@ SOCKET_process_end:
|
|||||||
mov [ebx + SOCKET.PID], 0
|
mov [ebx + SOCKET.PID], 0
|
||||||
mov eax, ebx
|
mov eax, ebx
|
||||||
mov ebx, [ebx + SOCKET.NextPtr]
|
mov ebx, [ebx + SOCKET.NextPtr]
|
||||||
|
|
||||||
|
pusha
|
||||||
|
mov ecx, socket_mutex
|
||||||
|
call mutex_unlock
|
||||||
|
popa
|
||||||
|
|
||||||
pusha
|
pusha
|
||||||
call SOCKET_close.socket
|
call SOCKET_close.socket
|
||||||
popa
|
popa
|
||||||
|
|
||||||
|
pusha
|
||||||
|
mov ecx, socket_mutex
|
||||||
|
call mutex_lock
|
||||||
|
popa
|
||||||
|
|
||||||
jmp .next_socket_test
|
jmp .next_socket_test
|
||||||
|
|
||||||
.done:
|
.done:
|
||||||
@ -2232,6 +2247,8 @@ SOCKET_process_end:
|
|||||||
call mutex_unlock
|
call mutex_unlock
|
||||||
popa
|
popa
|
||||||
|
|
||||||
|
popf
|
||||||
|
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user