summaryrefslogtreecommitdiff
path: root/accel-pppd/include
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2014-04-08 23:06:25 +0200
committerDmitry Kozlov <xeb@mail.ru>2014-04-11 06:47:42 +0400
commit2b911b95edc395a88513f359845e0457a760ab14 (patch)
tree34ece155796e8cab8b2ccdd463e1dd7e7c1ec4c6 /accel-pppd/include
parent4a16913ad3e0ba957fb0c4d440e8f91ae2df01d7 (diff)
downloadaccel-ppp-2b911b95edc395a88513f359845e0457a760ab14.tar.gz
accel-ppp-2b911b95edc395a88513f359845e0457a760ab14.zip
l2tp: don't initiate new sessions when sending window is full
Refuse to create new sessions when the local send queue is bigger than the peer's receive window (i.e. when there are already more outstanding messages than what the peer can currently accept). Only sessions initiated locally are affected, session requests from the peer are still handled normally. This avoids adding useless presure on the sending window when many sessions are created locally. If sessions were created, they'd add many ICRQ or OCRQ messages in the send queue and we'd have to wait for all these messages to be sent before being able to reply to messages from the peer. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/include')
0 files changed, 0 insertions, 0 deletions