summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_timewait.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-12-23 01:27:13 +0000
committerrwatson <rwatson@FreeBSD.org>2004-12-23 01:27:13 +0000
commit037f7c7ade70cba32436a396acd8f7db40d14c04 (patch)
tree21f36a10dc121e9bdf05a81e6c5f19e251509beb /sys/netinet/tcp_timewait.c
parent44b000390e898085a88159e0c1f5cea2bd97986f (diff)
downloadFreeBSD-src-037f7c7ade70cba32436a396acd8f7db40d14c04.zip
FreeBSD-src-037f7c7ade70cba32436a396acd8f7db40d14c04.tar.gz
Remove an XXXRW comment relating to whether or not the TCP timers are
MPSAFE: they are now believed to be. Correct a typo in a second comment. MFC after: 2 weeks
Diffstat (limited to 'sys/netinet/tcp_timewait.c')
-rw-r--r--sys/netinet/tcp_timewait.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c
index 0491f4f..c55459d 100644
--- a/sys/netinet/tcp_timewait.c
+++ b/sys/netinet/tcp_timewait.c
@@ -596,11 +596,6 @@ tcp_newtcpcb(inp)
tcp_mssdflt;
/* Set up our timeouts. */
- /*
- * XXXRW: Are these actually MPSAFE? I think so, but need to
- * review the timed wait code, as it has some list variables,
- * etc, that are global.
- */
callout_flag = debug_mpsafenet ? CALLOUT_MPSAFE : 0;
callout_init(tp->tt_rexmt = &tm->tcpcb_mem_rexmt, callout_flag);
callout_init(tp->tt_persist = &tm->tcpcb_mem_persist, callout_flag);
@@ -1708,7 +1703,7 @@ tcp_twstart(tp)
* that it is safe to recycle this tw socket by returning 1.
*
* XXXRW: This function should assert the inpcb lock as it does multiple
- * non-atomic reads from the tcptw, but is currently * called without it from
+ * non-atomic reads from the tcptw, but is currently called without it from
* in_pcb.c:in_pcblookup_local().
*/
int
OpenPOWER on IntegriCloud