mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-31 12:13:10 +00:00
Lower the maximum ACK timeout for GRE packets from 10 to 1 second.
In practice it seems that in situations of high packet loss the ACK timeout seems to hit this maximum (perhaps inappropriately, but the estimation algorithm is not perfect, so apparently it happens). In any case, 10 seconds is way too high a value so lower to 1 second. MFC after: 3 days
This commit is contained in:
parent
0eb1430969
commit
f6a1906569
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=122890
@ -119,7 +119,7 @@ typedef u_int64_t pptptime_t;
|
||||
#define PPTP_XMIT_WIN 16 /* max xmit window */
|
||||
#define PPTP_MIN_RTT (PPTP_TIME_SCALE / 10) /* 100 milliseconds */
|
||||
#define PPTP_MIN_TIMEOUT (PPTP_TIME_SCALE / 83) /* 12 milliseconds */
|
||||
#define PPTP_MAX_TIMEOUT (10 * PPTP_TIME_SCALE) /* 10 seconds */
|
||||
#define PPTP_MAX_TIMEOUT (1 * PPTP_TIME_SCALE) /* 1 second */
|
||||
|
||||
/* When we recieve a packet, we wait to see if there's an outgoing packet
|
||||
we can piggy-back the ACK off of. These parameters determine the mimimum
|
||||
|
Loading…
Reference in New Issue
Block a user