net: fix mutex leak in ipv4_connect
Build system / Check kernel codestyle (pull_request) Successful in 1m42s
Build system / Build (pull_request) Successful in 12m27s

This commit was merged in pull request #401.
This commit is contained in:
TensorCraft
2026-03-31 10:41:12 -07:00
parent de6724017d
commit 0b4562bac4
+2 -1
View File
@@ -1058,10 +1058,11 @@ ipv4_connect:
; Fill in local IP
cmp [eax + IP_SOCKET.LocalIP], 0
jne @f
jne .local_ip_ready
push [IPv4_address + 4] ; FIXME: use correct local IP
pop [eax + IP_SOCKET.LocalIP]
.local_ip_ready:
; Fill in remote IP
pushd [edx + 4]
pop [eax + IP_SOCKET.RemoteIP]