#
4952945b |
| 06-Aug-2019 |
riastradh <riastradh@NetBSD.org> |
Clamp tcp timer quantities to reasonable ranges.
Reported-by: syzbot+259675123340bf46a6de@syzkaller.appspotmail.com
|
#
be75d649 |
| 19-Jan-2018 |
ozaki-r <ozaki-r@NetBSD.org> |
Run tcp_slowtimo in workqueue if NET_MPSAFE
If NET_MPSAFE is enabled, we have to avoid taking softnet_lock in softint as much as possible to prevent any softint handlers including callout handlers s
Run tcp_slowtimo in workqueue if NET_MPSAFE
If NET_MPSAFE is enabled, we have to avoid taking softnet_lock in softint as much as possible to prevent any softint handlers including callout handlers such as tcp_slowtimo from sticking on softnet_lock because it results in undesired delays of executing subsequent softint handlers.
NFCI for !NET_MPSAFE
show more ...
|
#
0ca69791 |
| 24-May-2011 |
gdt <gdt@NetBSD.org> |
Note units and current value for TCP_DELACK_TICKS.
|
#
f641bea5 |
| 20-Apr-2011 |
gdt <gdt@NetBSD.org> |
Rewrite comments about TCP RTO calculations.
Long ago, the storage representations of srtt and rttvar were changed from the 4.4BSD scheme, and the comments are out of sync with the code. This commi
Rewrite comments about TCP RTO calculations.
Long ago, the storage representations of srtt and rttvar were changed from the 4.4BSD scheme, and the comments are out of sync with the code. This commit rewrites most of the comments that explain the RTO calculations, and points out some issues in the code.
Joint work with Bev Schwartz of BBN (original analysis and comments), but I have rewritten and extended them, so errors are mine.
This material is based upon work supported by the Defense Advanced Research Projects Agency and Space and Naval Warfare Systems Center, Pacific, under Contract No. N66001-09-C-2073. Approved for Public Release, Distribution Unlimited
show more ...
|
#
ce099b40 |
| 28-Apr-2008 |
martin <martin@NetBSD.org> |
Remove clause 3 and 4 from TNF licenses
|
#
eeff1895 |
| 20-Jun-2007 |
christos <christos@NetBSD.org> |
- per socket keepalive settings - settable connection establishment timeout
|
#
b91b1cdb |
| 26-Sep-2006 |
jeremy <jeremy@NetBSD.org> |
Fixed a bug in the timeout range constraint macro that can cause a timeout to break free of the constraint if the range minimum boundary is larger than the maximum boundary.
Discovered by jmg@FreeBS
Fixed a bug in the timeout range constraint macro that can cause a timeout to break free of the constraint if the range minimum boundary is larger than the maximum boundary.
Discovered by jmg@FreeBSD.org. (See FreeBSD's tcp_timer.h rev 1.31).
show more ...
|
#
9702e987 |
| 10-Dec-2005 |
elad <elad@NetBSD.org> |
Multiple inclusion protection, as suggested by christos@ on tech-kern@ few days ago.
|
#
c8636820 |
| 02-Jun-2005 |
riz <riz@NetBSD.org> |
Fix some const fallout.
|
#
5640dcbb |
| 04-Mar-2005 |
mycroft <mycroft@NetBSD.org> |
Re-add callout_active(), in a way compatible with the FreeBSD version, and use it in the TCP stack to test which of the REXMT or PERSIST timer is in use. This fixes a race condition that could cause
Re-add callout_active(), in a way compatible with the FreeBSD version, and use it in the TCP stack to test which of the REXMT or PERSIST timer is in use. This fixes a race condition that could cause "panic: tcp_output REXMT". See tech-net for details.
show more ...
|
#
aad01611 |
| 07-Aug-2003 |
agc <agc@NetBSD.org> |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
#
2ee9a875 |
| 04-Feb-2003 |
thorpej <thorpej@NetBSD.org> |
Use callout_setfunc() and callout_schedule().
|
#
882dec6b |
| 03-Feb-2003 |
thorpej <thorpej@NetBSD.org> |
Test callout_pending(), not callout_active(), and eliminate now-unnecessary callout_deactivate() calls.
|
#
47577dca |
| 04-Nov-2001 |
matt <matt@NetBSD.org> |
Change a few variable/tables to const since they are read-only.
|
#
4745c7f2 |
| 10-Sep-2001 |
thorpej <thorpej@NetBSD.org> |
Update copyrights.
|
#
6d0e813f |
| 10-Sep-2001 |
thorpej <thorpej@NetBSD.org> |
Use callouts for TCP timers, rather than traversing the list of all open TCP connections in tcp_slowtimo() (which is called 2x per second). It's fairly rare for TCP timers to actually fire, so savin
Use callouts for TCP timers, rather than traversing the list of all open TCP connections in tcp_slowtimo() (which is called 2x per second). It's fairly rare for TCP timers to actually fire, so saving this list traversal is good, especially if you want to scale to thousands of open connections.
show more ...
|
#
413e5cb8 |
| 10-Sep-2001 |
thorpej <thorpej@NetBSD.org> |
Initialize TCP timer variables in a new function, tcp_timer_init().
|
#
3d9c4277 |
| 10-Sep-2001 |
thorpej <thorpej@NetBSD.org> |
Add explicit initialization of TCP timer state. A noop right now.
|
#
45e02f5e |
| 10-Sep-2001 |
thorpej <thorpej@NetBSD.org> |
Split tcp_timers() into multiple functions, one for each timer, and call it directly from tcp_slowtimo() (via a table) rather than going through tcp_userreq().
This will allow us to call TCP timers
Split tcp_timers() into multiple functions, one for each timer, and call it directly from tcp_slowtimo() (via a table) rather than going through tcp_userreq().
This will allow us to call TCP timers directly from callouts, in a future revision.
show more ...
|
#
783db900 |
| 10-Sep-2001 |
thorpej <thorpej@NetBSD.org> |
Use a callout for the delayed ACK timer, and delete tcp_fasttimo(). Expose the delayed ACK timer as net.inet.tcp.delack_ticks.
|
#
b9511682 |
| 10-Sep-1998 |
mouse <mouse@NetBSD.org> |
Create tcp.keepidle, tcp.keepintvl, tcp.keepcnt, tcp.slowhz sysctls.
|
#
dc49b034 |
| 07-May-1998 |
thorpej <thorpej@NetBSD.org> |
Define all TCP timers in terms of PRT timers.
|
#
34e34c98 |
| 06-May-1998 |
thorpej <thorpej@NetBSD.org> |
Use the monotonically increasing slow timer timestamp provided by the protocol dispatch layer for TCP timers. This saves having to modify a potentially large number of timer values (which were short
Use the monotonically increasing slow timer timestamp provided by the protocol dispatch layer for TCP timers. This saves having to modify a potentially large number of timer values (which were shorts, and expanded to ... a lot of code on the Alpha).
show more ...
|
#
f73530ba |
| 10-Feb-1998 |
perry <perry@NetBSD.org> |
add/cleanup multiple inclusion protection.
|
#
7c042338 |
| 26-Mar-1995 |
jtc <jtc@NetBSD.org> |
KERNEL -> _KERNEL
|