diff --git a/src/net/data_stream.rs b/src/net/data_stream.rs index 5a462d018..5ebe6fb1d 100644 --- a/src/net/data_stream.rs +++ b/src/net/data_stream.rs @@ -57,7 +57,7 @@ const FRAME_SIZE: usize = 1500 - 40 - 8; // The size of the frame queue must be at least as large as the number of frame buffers. Every // allocated frame buffer should fit in the queue. -const FRAME_QUEUE_SIZE: usize = FRAME_COUNT; +const FRAME_QUEUE_SIZE: usize = FRAME_COUNT * 2; type Frame = [MaybeUninit; FRAME_SIZE];