mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:57:35 +00:00
Kernel: Put too small unused network packets back into the list
This commit is contained in:
parent
9e7faff181
commit
df4ba7b430
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ RefPtr<PacketWithTimestamp> NetworkAdapter::acquire_packet_buffer(size_t size)
|
|||
if (unused_packet->buffer->capacity() >= size)
|
||||
return unused_packet;
|
||||
|
||||
// FIXME: Shouldn't we put existing buffers that are too small back into the list?
|
||||
unused_packets.append(*unused_packet);
|
||||
return nullptr;
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue