Kernel: Fix tcp sending with already sent unacknowledged bytes

This commit is contained in:
Bananymous 2025-06-06 11:55:44 +03:00
parent ef76ffa1c1
commit e92f039a17
1 changed files with 1 additions and 1 deletions

View File

@ -733,7 +733,7 @@ namespace Kernel
const uint32_t total_send = BAN::Math::min<uint32_t>(m_send_window.data_size - send_base, m_send_window.scaled_size());
m_send_window.current_seq = m_send_window.start_seq;
m_send_window.current_seq = m_send_window.start_seq + m_send_window.sent_size;
auto* send_buffer = reinterpret_cast<const uint8_t*>(m_send_window.buffer->vaddr() + send_base);
for (uint32_t i = 0; i < total_send;)