mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:28:12 +00:00
Kernel: Convert TCP retransmit queue from HashTable to IntrusiveList
This commit is contained in:
parent
7063303022
commit
6a20733fcd
3 changed files with 13 additions and 8 deletions
|
@ -642,7 +642,7 @@ void retransmit_tcp_packets()
|
|||
// in case retransmit_packets() realizes that it wants to close the socket.
|
||||
NonnullRefPtrVector<TCPSocket, 16> sockets;
|
||||
TCPSocket::sockets_for_retransmit().for_each_shared([&](const auto& socket) {
|
||||
sockets.append(*socket);
|
||||
sockets.append(socket);
|
||||
});
|
||||
|
||||
for (auto& socket : sockets) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue