From 4db1abbe7622de1ecb8ff937e09c1b83b98a1a30 Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Sat, 17 Sep 2011 23:08:48 +0000 Subject: [PATCH] I very much hope that this is the last fix for r.2129. This revision makes me cry. git-svn-id: svn://kolibrios.org@2208 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/network/socket.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kernel/trunk/network/socket.inc b/kernel/trunk/network/socket.inc index 5cd4e38bf4..16616c2982 100644 --- a/kernel/trunk/network/socket.inc +++ b/kernel/trunk/network/socket.inc @@ -801,8 +801,9 @@ proc socket_read_packet stdcall .exit: lea ecx, [ebx + SOCKET.lock] + mov ebx,eax call mutex_unlock - mov eax, edx + mov eax,ebx ret ; at last, exit .error: @@ -814,8 +815,9 @@ proc socket_read_packet stdcall mov [ebx + SOCKET.rxDataCount], esi ; store new count (zero) call .start_copy lea ecx, [ebx + SOCKET.lock] + mov ebx,eax call mutex_unlock - mov eax, edx + mov eax,ebx ret .start_copy: