diff options
author | cheloha <cheloha@cvs.openbsd.org> | 2021-06-23 16:10:46 +0000 |
---|---|---|
committer | cheloha <cheloha@cvs.openbsd.org> | 2021-06-23 16:10:46 +0000 |
commit | b33159ef040c969c19b8c5c5e349de302c7f969d (patch) | |
tree | affd4850f6fbeac0af9c32ccf3617e6f475ee51f /sys/net/rtsock.c | |
parent | 477f03ff3f70c79b399b37e2b2d73d60fbf054c7 (diff) |
rtsock: revert from timeout_set_flags(9) to timeout_set_proc(9); ok mvs@
Diffstat (limited to 'sys/net/rtsock.c')
-rw-r--r-- | sys/net/rtsock.c | 5 |
1 files 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; |