mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
Kernel: Avoid allocations when handling network packets
This commit is contained in:
parent
53d0150827
commit
006f11f23d
Notes:
sideshowbarker
2024-07-18 18:01:33 +09:00
Author: https://github.com/gunnarbeutner
Commit: 006f11f23d
Pull-request: https://github.com/SerenityOS/serenity/pull/7151
Reviewed-by: https://github.com/alimpfard
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