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:
parent
53d0150827
commit
006f11f23d
5 changed files with 8 additions and 6 deletions
|
@ -194,7 +194,7 @@ private:
|
|||
|
||||
struct OutgoingPacket {
|
||||
u32 ack_number { 0 };
|
||||
ByteBuffer buffer;
|
||||
NetworkByteBuffer buffer;
|
||||
int tx_counter { 0 };
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue