summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlstewart <lstewart@FreeBSD.org>2010-12-02 00:47:55 +0000
committerlstewart <lstewart@FreeBSD.org>2010-12-02 00:47:55 +0000
commit88a0e7e6ddcafc1b6514b64da98d386bfaa617dc (patch)
treecf80a42944766d01243a72dc1294c080f60d81f9
parent67c1c795556c3ca7212f1787a1e0a9908cf5c358 (diff)
downloadFreeBSD-src-88a0e7e6ddcafc1b6514b64da98d386bfaa617dc.zip
FreeBSD-src-88a0e7e6ddcafc1b6514b64da98d386bfaa617dc.tar.gz
Pass NULL instead of 0 for the th pointer value. NULL != 0 on all platforms.
Submitted by: David Hayes <dahayes at swin edu au> MFC after: 9 weeks X-MFC with: r215166
-rw-r--r--sys/netinet/tcp_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c
index 2748e64..40ee4d2 100644
--- a/sys/netinet/tcp_timer.c
+++ b/sys/netinet/tcp_timer.c
@@ -567,7 +567,7 @@ tcp_timer_rexmt(void * xtp)
*/
tp->t_rtttime = 0;
- cc_cong_signal(tp, 0, CC_RTO);
+ cc_cong_signal(tp, NULL, CC_RTO);
(void) tcp_output(tp);
OpenPOWER on IntegriCloud