summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/l2tp/attr_defs.h
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2014-04-08 22:55:28 +0200
committerDmitry Kozlov <xeb@mail.ru>2014-04-11 06:47:27 +0400
commit634c92cf8acf9e8a0e915c82bb114a791850348a (patch)
treeb166fc485d9340ebb1039825f7d91c5f2c2f1321 /accel-pppd/ctrl/l2tp/attr_defs.h
parent221f2f9ab55dcdc7028669e75f619ba87503a8aa (diff)
downloadaccel-ppp-634c92cf8acf9e8a0e915c82bb114a791850348a.tar.gz
accel-ppp-634c92cf8acf9e8a0e915c82bb114a791850348a.zip
l2tp: drop tunnel/session messages from send queue upon disconnection
Add a per session send queue. Messages sent by a session are added to both tunnel and session queues. This allows sessions to remove their unsent messages from tunnel's send queue before they disconnect. The same approach is used for tunnels. Before disconnecting, they clear their send queue to avoid sending useless messages. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/ctrl/l2tp/attr_defs.h')
0 files changed, 0 insertions, 0 deletions