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:
parent
05db21b17b
commit
52b9b77f78
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user