<feed xmlns='http://www.w3.org/2005/Atom'>
<title>accel-ppp.git/accel-pppd/triton, branch 1.7</title>
<subtitle>High performance PPTP/L2TP/SSTP/PPPoE/IPoE server for Linux (mirror of https://github.com/marekm72/accel-ppp.git)
</subtitle>
<id>https://git.amelek.net/marekm72/accel-ppp.git/atom?h=1.7</id>
<link rel='self' href='https://git.amelek.net/marekm72/accel-ppp.git/atom?h=1.7'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/'/>
<updated>2014-07-11T10:58:42+00:00</updated>
<entry>
<title>triton: fix possible race</title>
<updated>2014-07-11T10:58:42+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2014-05-20T08:05:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/commit/?id=111e1beef442d0fa8ee9ff45db53999684a7f31a'/>
<id>urn:sha1:111e1beef442d0fa8ee9ff45db53999684a7f31a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>triton: fix possible race</title>
<updated>2014-07-11T10:57:57+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2014-05-18T21:21:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/commit/?id=f7b2b5c9c05831e6f5ba4af1d03524980aee1f52'/>
<id>urn:sha1:f7b2b5c9c05831e6f5ba4af1d03524980aee1f52</id>
<content type='text'>
</content>
</entry>
<entry>
<title>triton: do not call context close if it is marked as need free (f.e. context already called triton_context_unregister)</title>
<updated>2013-08-15T19:17:54+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2013-08-15T18:39:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/commit/?id=0c38feb8c00e11b57233d3029230d17a0237b9a5'/>
<id>urn:sha1:0c38feb8c00e11b57233d3029230d17a0237b9a5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>triton: Fix race upon termination</title>
<updated>2013-07-24T18:33:00+00:00</updated>
<author>
<name>Guillaume Nault</name>
<email>g.nault@alphalink.fr</email>
</author>
<published>2013-07-24T18:27:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/commit/?id=15fa3651e11fbf36ab3649860a31be936919bb1e'/>
<id>urn:sha1:15fa3651e11fbf36ab3649860a31be936919bb1e</id>
<content type='text'>
The triton_terminate() function works by setting the need_close flag
of each triton context, then queues this context for execution by a
triton thread if not already running. But if the context is already
being run by a triton thread, it may not notice that its need_close
flag has been updated (this flag is only checked at the beginning
of ctx_thread()). So if no other event wakes up that context (i.e.
if ctx_thread() isn't run again), it will never terminate.

This patch moves the need_close flag check at the end of ctx_thread()
so that a triton context can take the need_close flag into account
event if it's updated while running.

The context spinlock is also used to protect the need_close flag as
it is concurrently updated by triton_terminate().

Signed-off-by: Guillaume Nault &lt;g.nault@alphalink.fr&gt;
</content>
</entry>
<entry>
<title>mempool: set/check magic only if MEMDEBUG defined</title>
<updated>2013-06-30T07:29:03+00:00</updated>
<author>
<name>Dmitry Kozlov</name>
<email>xeb@mail.ru</email>
</author>
<published>2013-06-30T07:26:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/commit/?id=b77ca8764985ebae18d769cdf115e2242bbac98d'/>
<id>urn:sha1:b77ca8764985ebae18d769cdf115e2242bbac98d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cmake: use CMAKE_FIND_ROOT_PATH and LIB_SUFFIX</title>
<updated>2012-12-25T22:15:05+00:00</updated>
<author>
<name>Kozlov Dmitry</name>
<email>xeb@mail.ru</email>
</author>
<published>2012-12-25T22:15:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/commit/?id=c223aade3cd0c9ee651902f70da5497aae0f8014'/>
<id>urn:sha1:c223aade3cd0c9ee651902f70da5497aae0f8014</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix va_end() missing calls</title>
<updated>2012-12-14T16:48:35+00:00</updated>
<author>
<name>Guillaume Nault</name>
<email>g.nault@alphalink.fr</email>
</author>
<published>2012-12-10T12:29:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/commit/?id=5195e2c34c33cc81fb4ca1995decf1b7dc863aab'/>
<id>urn:sha1:5195e2c34c33cc81fb4ca1995decf1b7dc863aab</id>
<content type='text'>
A few va_start() calls aren't followed by their corresponding va_end().
This patch adds the missing va_end() calls.

Signed-off-by: Guillaume Nault &lt;g.nault@alphalink.fr&gt;
</content>
</entry>
<entry>
<title>chap-secrets: implemented encryption</title>
<updated>2012-11-20T11:28:06+00:00</updated>
<author>
<name>Kozlov Dmitry</name>
<email>xeb@mail.ru</email>
</author>
<published>2012-11-20T11:28:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/commit/?id=26efe79ce312ab474d783980c0965031a5e8445d'/>
<id>urn:sha1:26efe79ce312ab474d783980c0965031a5e8445d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ippool: fixed initialization order</title>
<updated>2012-11-16T14:18:16+00:00</updated>
<author>
<name>Kozlov Dmitry</name>
<email>xeb@mail.ru</email>
</author>
<published>2012-11-16T14:18:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/commit/?id=6ca95447b6e539a867c8744b830acbde6c12d9a7'/>
<id>urn:sha1:6ca95447b6e539a867c8744b830acbde6c12d9a7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add compilation checks for printf-style format strings</title>
<updated>2012-09-05T18:00:11+00:00</updated>
<author>
<name>Guillaume Nault</name>
<email>g.nault@alphalink.fr</email>
</author>
<published>2012-09-04T18:29:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/accel-ppp.git/commit/?id=07ead7eed242981335aadd34aa3d7b3e7da33b81'/>
<id>urn:sha1:07ead7eed242981335aadd34aa3d7b3e7da33b81</id>
<content type='text'>
Append the format() __attribute__ to function prototypes which
use a format string. This allows GCC to check for consistency
between the format string and its arguments when these
functions are called.

Signed-off-by: Guillaume Nault &lt;g.nault@alphalink.fr&gt;
</content>
</entry>
</feed>
