diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-10-04 13:56:51 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-10-04 13:56:51 +0000 |
commit | 370f913d0b1d1dab762adaf604981e48b95c9df7 (patch) | |
tree | dd487990b9f0c9ff43d070cef2d6d09d3f4a5e45 /sys | |
parent | 94409de53f9fd9afb8125b1b64b4d27b0e2a614c (diff) |
One more timeout_set_proc(9) conversion.
Found by Chris Jackman, thanks!
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/tcp_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index 0e7e1789abd..2d06f541948 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_input.c,v 1.328 2016/09/19 16:06:25 bluhm Exp $ */ +/* $OpenBSD: tcp_input.c,v 1.329 2016/10/04 13:56:50 mpi Exp $ */ /* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */ /* @@ -3348,7 +3348,7 @@ do { \ TCPTV_SRTTDFLT * tcp_backoff[(sc)->sc_rxtshift], TCPTV_MIN, \ TCPTV_REXMTMAX); \ if (!timeout_initialized(&(sc)->sc_timer)) \ - timeout_set(&(sc)->sc_timer, syn_cache_timer, (sc)); \ + timeout_set_proc(&(sc)->sc_timer, syn_cache_timer, (sc)); \ timeout_add(&(sc)->sc_timer, (sc)->sc_rxtcur * (hz / PR_SLOWHZ)); \ } while (/*CONSTCOND*/0) |