Kernel: Fix spinlock bugs found by the new spinlock security

This commit is contained in:
2025-05-30 22:02:17 +03:00
parent 6542a037df
commit 692ba43182
2 changed files with 14 additions and 11 deletions

View File

@@ -281,10 +281,11 @@ namespace Kernel
if (!is_streaming())
m_packet_sizes.push(packet.size());
epoll_notify(EPOLLIN);
m_packet_thread_blocker.unblock();
m_packet_lock.unlock(state);
epoll_notify(EPOLLIN);
return {};
}