sync with OpenBSD -current
This commit is contained in:
parent
43f516ce43
commit
62ccfe7163
31 changed files with 463 additions and 114 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $OpenBSD: kern_timeout.c,v 1.100 2024/11/07 16:02:29 miod Exp $ */
|
||||
/* $OpenBSD: kern_timeout.c,v 1.101 2025/01/13 03:21:10 mvs Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2001 Thomas Nordin <nordin@openbsd.org>
|
||||
* Copyright (c) 2000-2001 Artur Grabowski <art@openbsd.org>
|
||||
|
@ -457,8 +457,7 @@ timeout_del_barrier(struct timeout *to)
|
|||
timeout_sync_order(ISSET(to->to_flags, TIMEOUT_PROC));
|
||||
|
||||
removed = timeout_del(to);
|
||||
if (!removed)
|
||||
timeout_barrier(to);
|
||||
timeout_barrier(to);
|
||||
|
||||
return removed;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue