l2tp: Increase queue size

So we can catch up according to the window that we announce.
This commit is contained in:
Samuel Thibault 2025-03-30 19:15:12 +02:00
parent b64ad7990b
commit 8b3ccb2ac5

View file

@ -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;