diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-12-23 01:21:54 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-12-23 01:21:54 +0000 |
commit | f55e651b2579de6eaec7f478f290b629bc305bc6 (patch) | |
tree | baa9c0f3b484c7adb456df3b1444ffc23d0a64cb /sys/netinet | |
parent | e1ce7eb9cea795b8384be1e1a2c734ccf13c26a1 (diff) | |
download | FreeBSD-src-f55e651b2579de6eaec7f478f290b629bc305bc6.zip FreeBSD-src-f55e651b2579de6eaec7f478f290b629bc305bc6.tar.gz |
Remove an annotation of a minor race relating to the update of
multiple MIB entries using sysctl in short order, which might
result in unexpected values for tcp_maxidle being generated by
tcp_slowtimo. In practice, this will not happen, or at least,
doesn't require an explicit comment.
MFC after: 2 weeks
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/tcp_timer.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c index 9daf437..80fd03c 100644 --- a/sys/netinet/tcp_timer.c +++ b/sys/netinet/tcp_timer.c @@ -131,13 +131,6 @@ void tcp_slowtimo() { - /* - * XXXRW: Note that there is a minor race issue associated with rapid - * modification of the two components of tcp_maxidle. This could be - * corrected by introducing sysctl handlers for those two fields, - * sliding this update of tcp_maxidle under the tcbinfo lock, and - * acquiring that lock in the handlers. - */ tcp_maxidle = tcp_keepcnt * tcp_keepintvl; INP_INFO_WLOCK(&tcbinfo); (void) tcp_timer_2msl_tw(0); |