aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_timer.h
diff options
context:
space:
mode:
authorMohan Srinivasan <mohans@FreeBSD.org>2006-08-11 21:15:23 +0000
committerMohan Srinivasan <mohans@FreeBSD.org>2006-08-11 21:15:23 +0000
commit464469c713898c2802a18b024a1fcf77bde1ffc2 (patch)
tree79bc8d154909be166e8a4c6f574e46e753772107 /sys/netinet/tcp_timer.h
parent7e9f73f3ed8fafc43fd3493c6d694b1d5bbf69e0 (diff)
downloadsrc-464469c713898c2802a18b024a1fcf77bde1ffc2.tar.gz
src-464469c713898c2802a18b024a1fcf77bde1ffc2.zip
Fixes an edge case bug in timewait handling where ticks rolling over causing
the timewait expiry to be exactly 0 corrupts the timewait queues (and that entry). Reviewed by: silby
Notes
Notes: svn path=/head/; revision=161226
Diffstat (limited to 'sys/netinet/tcp_timer.h')
-rw-r--r--sys/netinet/tcp_timer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_timer.h b/sys/netinet/tcp_timer.h
index d3d7c94ff3b0..815a75732402 100644
--- a/sys/netinet/tcp_timer.h
+++ b/sys/netinet/tcp_timer.h
@@ -156,7 +156,7 @@ void tcp_timer_init(void);
void tcp_timer_2msl(void *xtp);
struct tcptw *
tcp_timer_2msl_tw(int _reuse); /* XXX temporary */
-void tcp_timer_2msl_reset(struct tcptw *_tw, int _timeo);
+void tcp_timer_2msl_reset(struct tcptw *_tw, int _timeo, int rearm);
void tcp_timer_2msl_stop(struct tcptw *_tw);
void tcp_timer_keep(void *xtp);
void tcp_timer_persist(void *xtp);