<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.sbin/ppp/timer.c, branch stable/8</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Fix a race that can stall the timer when we remove a timer that has another</title>
<updated>2009-05-26T07:32:08+00:00</updated>
<author>
<name>Brian Somers</name>
<email>brian@FreeBSD.org</email>
</author>
<published>2009-05-26T07:32:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=096d622d17a1b94c559a27ce84cc16c83aa98b12'/>
<id>096d622d17a1b94c559a27ce84cc16c83aa98b12</id>
<content type='text'>
timer with a &lt;0.05 second delta next to it.

This is done by avoiding the possibility of updating the first residual
time delta in the timer list to zero.

PR:		102747
Submitted by:	Sergey Zaharchenko - doublef-ctm at yandex dot ru
MFC after:	3 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
timer with a &lt;0.05 second delta next to it.

This is done by avoiding the possibility of updating the first residual
time delta in the timer list to zero.

PR:		102747
Submitted by:	Sergey Zaharchenko - doublef-ctm at yandex dot ru
MFC after:	3 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>Include the correct file (stdarg.h) and use va_list rather than _BSD_VA_LIST_</title>
<updated>2002-08-27T20:11:58+00:00</updated>
<author>
<name>Brian Somers</name>
<email>brian@FreeBSD.org</email>
</author>
<published>2002-08-27T20:11:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6eafd35305dee6df318b4652fdea0360ab4c4569'/>
<id>6eafd35305dee6df318b4652fdea0360ab4c4569</id>
<content type='text'>
Suggested by: mike
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Suggested by: mike
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove whitespace at the end of lines.</title>
<updated>2002-06-15T08:03:30+00:00</updated>
<author>
<name>Brian Somers</name>
<email>brian@FreeBSD.org</email>
</author>
<published>2002-06-15T08:03:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=10be78d3ae11fbdd8fab4a4a34d5337ce071dd1d'/>
<id>10be78d3ae11fbdd8fab4a4a34d5337ce071dd1d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add some missing #includes that weren't required due to namespace polution</title>
<updated>2002-05-22T21:08:58+00:00</updated>
<author>
<name>Brian Somers</name>
<email>brian@FreeBSD.org</email>
</author>
<published>2002-05-22T21:08:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b08bf2de6403a99f7a290dfd88a4a5d0aa6bd979'/>
<id>b08bf2de6403a99f7a290dfd88a4a5d0aa6bd979</id>
<content type='text'>
in our headers.

Submitted by: bde
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
in our headers.

Submitted by: bde
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix an include for NetBSD</title>
<updated>2002-05-14T17:50:25+00:00</updated>
<author>
<name>Brian Somers</name>
<email>brian@FreeBSD.org</email>
</author>
<published>2002-05-14T17:50:25+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6f4cd65600d540b8daeb6b7fddb596f16c7d5b30'/>
<id>6f4cd65600d540b8daeb6b7fddb596f16c7d5b30</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>o Clean up some #includes</title>
<updated>2002-05-14T12:55:39+00:00</updated>
<author>
<name>Brian Somers</name>
<email>brian@FreeBSD.org</email>
</author>
<published>2002-05-14T12:55:39+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=de59e178aae50746b140808e7e31ef61b78cd6d5'/>
<id>de59e178aae50746b140808e7e31ef61b78cd6d5</id>
<content type='text'>
o Bump version number to 3.0.4
o When talking to a RADIUS server, provide a NAS-Port-Type.

  When the NAS-Port-Type is Ethernet, provide a NAS-Port value equal
  to the SESSIONID from the environment in direct mode or the
  NGM_PPPOE_SESSIONID message in other modes.  If no SESSIONID is found,
  default to the interface index in client mode or zero in server mode.

  When the NAS-Port-Type is ISDN, set the NAS-Port to the minor number
  of the physical device (ie, the N in /dev/i4brbchN).

  This makes it easier for the RADIUS server to identify the client
  WRT accounting data etc.

Prompted by:	lsz8425 &lt;lsz8425@mail.cd.hn.cn&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
o Bump version number to 3.0.4
o When talking to a RADIUS server, provide a NAS-Port-Type.

  When the NAS-Port-Type is Ethernet, provide a NAS-Port value equal
  to the SESSIONID from the environment in direct mode or the
  NGM_PPPOE_SESSIONID message in other modes.  If no SESSIONID is found,
  default to the interface index in client mode or zero in server mode.

  When the NAS-Port-Type is ISDN, set the NAS-Port to the minor number
  of the physical device (ie, the N in /dev/i4brbchN).

  This makes it easier for the RADIUS server to identify the client
  WRT accounting data etc.

Prompted by:	lsz8425 &lt;lsz8425@mail.cd.hn.cn&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sigpause() -&gt; sigsuspend()</title>
<updated>2001-09-13T10:03:30+00:00</updated>
<author>
<name>Brian Somers</name>
<email>brian@FreeBSD.org</email>
</author>
<published>2001-09-13T10:03:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ed1e8460bdb3169a75211e6c82bd269f568e1957'/>
<id>ed1e8460bdb3169a75211e6c82bd269f568e1957</id>
<content type='text'>
sigblock() -&gt; sigprocmask()
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
sigblock() -&gt; sigprocmask()
</pre>
</div>
</content>
</entry>
<entry>
<title>Convert IIJ copyrights to BSD copyrights.</title>
<updated>2001-06-13T21:52:19+00:00</updated>
<author>
<name>Brian Somers</name>
<email>brian@FreeBSD.org</email>
</author>
<published>2001-06-13T21:52:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=65309e5cda5d671cbca4763b481566ce387dcf7e'/>
<id>65309e5cda5d671cbca4763b481566ce387dcf7e</id>
<content type='text'>
Approved by: Toshiharu OHNO &lt;tohno@sirius.ocn.ne.jp&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Approved by: Toshiharu OHNO &lt;tohno@sirius.ocn.ne.jp&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>When adjusting timer::rest, round to the closest TICKUNIT usecs</title>
<updated>2000-03-14T01:46:34+00:00</updated>
<author>
<name>Brian Somers</name>
<email>brian@FreeBSD.org</email>
</author>
<published>2000-03-14T01:46:34+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=76ce2d4bcb3444b5e5025c459598c335d1b37c70'/>
<id>76ce2d4bcb3444b5e5025c459598c335d1b37c70</id>
<content type='text'>
value.

This has minimal impact here, but if ppp ever needs to frequently
remove timers before they've timed out, it can badly skew the next
item in the timer list without this change.

The correct fix would be to store usecs in `rest' rather than
TICKUNITs, but the math is easier if we just round...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
value.

This has minimal impact here, but if ppp ever needs to frequently
remove timers before they've timed out, it can badly skew the next
item in the timer list without this change.

The correct fix would be to store usecs in `rest' rather than
TICKUNITs, but the math is easier if we just round...
</pre>
</div>
</content>
</entry>
<entry>
<title>When we stop a timer that's the first in the timer list, ensure</title>
<updated>2000-03-14T01:46:31+00:00</updated>
<author>
<name>Brian Somers</name>
<email>brian@FreeBSD.org</email>
</author>
<published>2000-03-14T01:46:31+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e722aa17f8fe32c062e41a65ea0a0e3ff4c11b8e'/>
<id>e722aa17f8fe32c062e41a65ea0a0e3ff4c11b8e</id>
<content type='text'>
that we adjust that timers `rest' value (with the current getitimer()
values) before using that to adjust the next items `rest' value.
After adjusting that value, restart the timer service so that we've
now got the correct setitimer() values.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
that we adjust that timers `rest' value (with the current getitimer()
values) before using that to adjust the next items `rest' value.
After adjusting that value, restart the timer service so that we've
now got the correct setitimer() values.
</pre>
</div>
</content>
</entry>
</feed>
