From 8b3ccb2ac5d49c80c93a9eeb88aa3016e47e6281 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 30 Mar 2025 19:15:12 +0200 Subject: [PATCH] l2tp: Increase queue size So we can catch up according to the window that we announce. --- l2tpns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l2tpns.c b/l2tpns.c index 66f0214..9a8fd4d 100644 --- a/l2tpns.c +++ b/l2tpns.c @@ -4205,7 +4205,7 @@ void processudp(uint8_t *buf, int len, struct sockaddr_in *addr, uint16_t indexu t, ns, tunnel[t].nr); if (tunnel[t].state == TUNNELOPEN - && ns - tunnel[t].nr <= 10 && len <= MAXCONTROL) + && ns - tunnel[t].nr <= CONTROLWIN && len <= MAXCONTROL) { // Not too big and not too new controlt **curp;