forked from KolibriOS/kolibrios
Fix issue #122
git-svn-id: svn://kolibrios.org@7682 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
dd3fcadfa2
commit
e885b31ba8
@ -439,7 +439,7 @@ arp_del_entry:
|
||||
|
||||
; TODO: use a mutex to lock ARP table
|
||||
|
||||
DEBUGF DEBUG_NETWORK_VERBOSE, "ARP_del_entry: entry=0x%x entrys=%u\n", esi, [ARP_entries_num + 4*edi]
|
||||
DEBUGF DEBUG_NETWORK_VERBOSE, "ARP_del_entry: entry=0x%x entrys=%u\n", esi, [ARP_entries + 4*edi]
|
||||
DEBUGF DEBUG_NETWORK_VERBOSE, "ARP_del_entry: IP=%u.%u.%u.%u\n", \
|
||||
[esi + ARP_entry.IP]:1, [esi + ARP_entry.IP + 1]:1, [esi + ARP_entry.IP + 2]:1, [esi + ARP_entry.IP + 3]:1
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
;; ;;
|
||||
;; UDP.INC ;;
|
||||
;; ;;
|
||||
;; Part of the tcp/ip network stack for KolibriOS ;;
|
||||
;; Part of the TCP/IP network stack for KolibriOS ;;
|
||||
;; ;;
|
||||
;; Written by hidnplayr@kolibrios.org ;;
|
||||
;; ;;
|
||||
@ -30,8 +30,8 @@ ends
|
||||
uglobal
|
||||
align 4
|
||||
|
||||
UDP_packets_tx rd NET_DEVICES_MAX
|
||||
UDP_packets_rx rd NET_DEVICES_MAX
|
||||
UDP_packets_tx rd NET_DEVICES_MAX
|
||||
UDP_packets_rx rd NET_DEVICES_MAX
|
||||
|
||||
endg
|
||||
|
||||
@ -364,6 +364,12 @@ udp_connect:
|
||||
|
||||
.enoroute:
|
||||
pop eax
|
||||
|
||||
push eax
|
||||
lea ecx, [eax + SOCKET.mutex]
|
||||
call mutex_unlock
|
||||
pop eax
|
||||
|
||||
popa
|
||||
xor eax, eax
|
||||
dec eax
|
||||
|
Loading…
Reference in New Issue
Block a user