summaryrefslogtreecommitdiff
path: root/accel-pppd/cli
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2013-02-13 18:27:45 +0100
committerKozlov Dmitry <xeb@mail.ru>2013-02-13 21:28:40 +0400
commitbfc338f17ebbadf377d59c51895f46f02a926fc8 (patch)
tree38b31ffa8d438edb47ad95ef8be3b6e52e3e3d02 /accel-pppd/cli
parente9a5661c750da593186f45fe2ffe6324297c4da1 (diff)
downloadaccel-ppp-xebd-bfc338f17ebbadf377d59c51895f46f02a926fc8.tar.gz
accel-ppp-xebd-bfc338f17ebbadf377d59c51895f46f02a926fc8.zip
l2tp: Flush ack-ed messages from retransmission queue
When several messages are sent consecutively, the peer can reply with a single ZLB to acknowledge all messages. In this case, removing only the first message from the retransmission queue isn't enough (acknowledged messages left in the queue will be retransmitted). This case can happen when replying to an outgoing call request, wich is handled by sending two messages in a row (an OCRP and an OCCN). This patch avoids useless retransmissions by removing all messages acknowledged by peer from the retransmission queue. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/cli')
0 files changed, 0 insertions, 0 deletions