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
This commit is contained in:
Robert Watson 2004-12-23 01:21:54 +00:00
parent 38e6a58c77
commit 950ab1e470

View File

@ -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);