diff options
author | 2016-10-04 13:56:50 +0000 | |
---|---|---|
committer | 2016-10-04 13:56:50 +0000 | |
commit | 83f9c1d20fbd146bbfa8e187749dee0a246af075 (patch) | |
tree | 3768df547be900f2369ba094613e2959aca8e8be | |
parent | Convert timeouts that need a process context to timeout_set_proc(9). (diff) | |
download | wireguard-openbsd-83f9c1d20fbd146bbfa8e187749dee0a246af075.tar.xz wireguard-openbsd-83f9c1d20fbd146bbfa8e187749dee0a246af075.zip |
One more timeout_set_proc(9) conversion.
Found by Chris Jackman, thanks!
-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) |