diff options
author | mav <mav@FreeBSD.org> | 2007-12-12 19:04:30 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2007-12-12 19:04:30 +0000 |
commit | a1921d35de90ba4ecff3390530b83d7e3e97af0e (patch) | |
tree | 62ebabe4abd8addb69a5ed72d177f4f363393c4f | |
parent | 9c13fe545e01164eaeaeca34071390b5f6d3c3fd (diff) | |
download | FreeBSD-src-a1921d35de90ba4ecff3390530b83d7e3e97af0e.zip FreeBSD-src-a1921d35de90ba4ecff3390530b83d7e3e97af0e.tar.gz |
Increase control channel xmit queue to 128 packets.
Previous value 16 was too small for real LAC as temporal activity
spike cound easily overflow queue demanding tunnel disconnection due
to possible state inconsistency.
-rw-r--r-- | sys/netgraph/ng_l2tp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_l2tp.c b/sys/netgraph/ng_l2tp.c index 88adde2..accf48d 100644 --- a/sys/netgraph/ng_l2tp.c +++ b/sys/netgraph/ng_l2tp.c @@ -88,7 +88,7 @@ MALLOC_DEFINE(M_NETGRAPH_L2TP, "netgraph_l2tp", "netgraph l2tp node"); #define L2TP_DATA_HDR (L2TP_HDR_VERSION) /* optional: len, seq */ /* Some hard coded values */ -#define L2TP_MAX_XWIN 16 /* my max xmit window */ +#define L2TP_MAX_XWIN 128 /* my max xmit window */ #define L2TP_MAX_REXMIT 5 /* default max rexmit */ #define L2TP_MAX_REXMIT_TO 30 /* default rexmit to */ #define L2TP_DELAYED_ACK ((hz + 19) / 20) /* delayed ack: 50 ms */ |