1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:48:11 +00:00

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
parent 53d0150827
commit 006f11f23d
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 };
};