diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-12-22 14:54:37 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-12-22 14:54:37 +0100 |
commit | 8874ad7946bbd99cb0f3c8fabfd003241a068685 (patch) | |
tree | 1aab5d3d1efc305af40550c38378fd304b246c11 /Kernel/Net/NetworkTask.cpp | |
parent | 0c97380ee638f0cd545b1853533de5cc41e21f4f (diff) | |
download | serenity-8874ad7946bbd99cb0f3c8fabfd003241a068685.zip |
Net: Shrink the NetworkTask packet buffer
This thing was overflowing the NetworkTask's kernel stack. Oops!
Diffstat (limited to 'Kernel/Net/NetworkTask.cpp')
-rw-r--r-- | Kernel/Net/NetworkTask.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Net/NetworkTask.cpp b/Kernel/Net/NetworkTask.cpp index fcbff30eaa..2e376da867 100644 --- a/Kernel/Net/NetworkTask.cpp +++ b/Kernel/Net/NetworkTask.cpp @@ -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); |