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.
This commit is contained in:
Alexander Motin 2007-12-12 19:04:30 +00:00
parent 05db21b17b
commit 52b9b77f78
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=174554

View File

@ -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 */