sync with OpenBSD -current

This commit is contained in:
purplerain 2025-01-13 18:23:20 +00:00
parent 43f516ce43
commit 62ccfe7163
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
31 changed files with 463 additions and 114 deletions

View file

@ -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;
}