When we hit an error from sendmsg() called via: smbd_smb2_flush_send_queue() from smbd_smb2_break_send() We'll end up in smbXsrv_pending_break_done() and smbXsrv_pending_break_submit() returning NT_STATUS_ABANDONED in order to indicate that there's no more valid channel/transport connection remaining for the smbXsrv_client. In that case smbd stays for ever most likely sitting in epoll_wait().