From b1f2ff087b30a72e378dad135e663150af2ead38 Mon Sep 17 00:00:00 2001 From: cheloha Date: Wed, 23 Jun 2021 16:10:45 +0000 Subject: [PATCH] rtsock: revert from timeout_set_flags(9) to timeout_set_proc(9); ok mvs@ --- sys/net/rtsock.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c index 29c864587f4..a357760c64e 100644 --- a/sys/net/rtsock.c +++ b/sys/net/rtsock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtsock.c,v 1.318 2021/06/01 14:23:34 mvs Exp $ */ +/* $OpenBSD: rtsock.c,v 1.319 2021/06/23 16:10:45 cheloha Exp $ */ /* $NetBSD: rtsock.c,v 1.18 1996/03/29 00:32:10 cgd Exp $ */ /* @@ -312,8 +312,7 @@ route_attach(struct socket *so, int proto) rop = pool_get(&rtpcb_pool, PR_WAITOK|PR_ZERO); so->so_pcb = rop; /* Init the timeout structure */ - timeout_set_flags(&rop->rop_timeout, rtm_senddesync_timer, so, - TIMEOUT_PROC); + timeout_set_proc(&rop->rop_timeout, rtm_senddesync_timer, so); refcnt_init(&rop->rop_refcnt); rop->rop_socket = so; -- 2.20.1