1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 19:45:08 +00:00

Net: Shrink the NetworkTask packet buffer

This thing was overflowing the NetworkTask's kernel stack. Oops!
This commit is contained in:
Andreas Kling 2019-12-22 14:54:37 +01:00
parent 0c97380ee6
commit 8874ad7946

View file

@ -75,7 +75,7 @@ void NetworkTask_main()
kprintf("NetworkTask: Enter main loop.\n");
for (;;) {
u8 packet[64 * KB];
u8 packet[32 * KB];
size_t packet_size = dequeue_packet(packet, sizeof(packet));
if (!packet_size) {
current->wait_on(packet_wait_queue);