diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2012-09-07 12:36:54 +0200 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2012-09-07 14:54:19 +0400 |
commit | 64d3b900de895f2fb38886613ac1710301c2a375 (patch) | |
tree | d6add12fb26bebbb822d07e1f529a31ebee61d2b /rfc/rfc2869.txt | |
parent | b34b73e2c86238ffb808d51d52983b84cafedb4e (diff) | |
download | accel-ppp-xebd-64d3b900de895f2fb38886613ac1710301c2a375.tar.gz accel-ppp-xebd-64d3b900de895f2fb38886613ac1710301c2a375.zip |
L2TP: Re-enable per session logs
Use a triton context per session so that log_ppp_*() functions can
prepend log messages with PPP session information.
Since functions must now be called within the right context,
allocating and freeing sessions is done in the following manner:
* Tunnels allocate new sessions within their own context and
activate the new session's context just before answering
the ICRQ.
* Freeing sessions is slightly more complex. The session is
first removed from its tunnel session list (done within the
tunnel context), then the session itself if disconnected and
freed (done within the session context).
The l2tp_tunnel_*() and the l2tp_session_*() functions must now be
used within tunnel and session contexts respectively.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'rfc/rfc2869.txt')
0 files changed, 0 insertions, 0 deletions