Kernel: Avoid allocations when handling network packets

This commit is contained in:
Gunnar Beutner 2021-05-15 22:45:22 +02:00 committed by Andreas Kling
commit 006f11f23d
Notes: sideshowbarker 2024-07-18 18:01:33 +09:00
5 changed files with 8 additions and 6 deletions

View file

@ -194,7 +194,7 @@ private:
struct OutgoingPacket {
u32 ack_number { 0 };
ByteBuffer buffer;
NetworkByteBuffer buffer;
int tx_counter { 0 };
};