aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/messages.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-10-02 01:27:38 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-10-02 02:45:53 +0200
commitc6e2b6a681674b94bdbb55ec35901128283bc29b (patch)
tree082881f0a7abc6c88a330e0428bb8ae40b29bbf5 /src/messages.h
parentnoise: use spinlock for rotating keys (diff)
downloadwireguard-monolithic-historical-c6e2b6a681674b94bdbb55ec35901128283bc29b.tar.xz
wireguard-monolithic-historical-c6e2b6a681674b94bdbb55ec35901128283bc29b.zip
messages: reduce maximum staged packets per peer
Diffstat (limited to '')
-rw-r--r--src/messages.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages.h b/src/messages.h
index 490a773..6da04e5 100644
--- a/src/messages.h
+++ b/src/messages.h
@@ -50,7 +50,7 @@ enum limits {
KEEPALIVE_TIMEOUT = 10 * HZ,
MAX_TIMER_HANDSHAKES = (90 * HZ) / REKEY_TIMEOUT,
MAX_QUEUED_INCOMING_HANDSHAKES = 4096, /* TODO: replace this with DQL */
- MAX_STAGED_PACKETS = 1024,
+ MAX_STAGED_PACKETS = 128,
MAX_QUEUED_PACKETS = 1024 /* TODO: replace this with DQL */
};