You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change introduces a single, well-defined cleanup path for the
worker thread. On buffer allocation failure or receive errors, the code
now frees the buffer, shuts down the socket, and propagates the
original error back to the caller. The daemon also releases the socket
when kthread creation fails. These adjustments prevent resource-leak
scenarios and keep error codes intact, making the server more resilient
to low-memory conditions and network-level faults.
0 commit comments