mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +00:00
IPv4: Protect the list of unacked TCP packets with a lock
Otherwise things get racy and crashy.
This commit is contained in:
parent
dc9d44d7b1
commit
61f611bf3c
Notes:
sideshowbarker
2024-07-19 11:06:11 +09:00
Author: https://github.com/awesomekling
Commit: 61f611bf3c
2 changed files with 4 additions and 0 deletions
|
@ -172,5 +172,6 @@ private:
|
|||
timeval tx_time;
|
||||
};
|
||||
|
||||
Lock m_not_acked_lock { "TCPSocket unacked packets" };
|
||||
SinglyLinkedList<OutgoingPacket> m_not_acked;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue