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: NGuillaume Nault <g.nault@alphalink.fr>
Showing
想要评论请 注册 或 登录