diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2014-04-08 22:55:28 +0200 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2014-04-11 06:47:27 +0400 |
commit | 634c92cf8acf9e8a0e915c82bb114a791850348a (patch) | |
tree | b166fc485d9340ebb1039825f7d91c5f2c2f1321 /accel-pppd/ctrl/l2tp/attr_defs.h | |
parent | 221f2f9ab55dcdc7028669e75f619ba87503a8aa (diff) | |
download | accel-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