summaryrefslogtreecommitdiff
path: root/Kernel/Net/NetworkTask.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-12-22 14:54:37 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-12-22 14:54:37 +0100
commit8874ad7946bbd99cb0f3c8fabfd003241a068685 (patch)
tree1aab5d3d1efc305af40550c38378fd304b246c11 /Kernel/Net/NetworkTask.cpp
parent0c97380ee638f0cd545b1853533de5cc41e21f4f (diff)
downloadserenity-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.cpp2
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);