summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authorcheloha <cheloha@openbsd.org>2020-09-22 13:43:28 +0000
committercheloha <cheloha@openbsd.org>2020-09-22 13:43:28 +0000
commit1cc52d09abbbdf7c670b49a4d86e33276dea30a8 (patch)
tree873e0bcf3e9a1eb210bbf22827521a42c41a23b2 /sys/dev/softraid.c
parentreword ambiguous title line; (diff)
downloadwireguard-openbsd-1cc52d09abbbdf7c670b49a4d86e33276dea30a8.tar.xz
wireguard-openbsd-1cc52d09abbbdf7c670b49a4d86e33276dea30a8.zip
timeout(9): timeout_run(): read to_process before leaving timeout_mutex
to_process is assigned during timeout_add(9) within timeout_mutex. In timeout_run() we need to read to_process before leaving timeout_mutex to ensure that the process pointer given to kcov_remote_enter(9) is the same as the one we set from timeout_add(9) when the candidate timeout was originally scheduled to run.
Diffstat (limited to 'sys/dev/softraid.c')
0 files changed, 0 insertions, 0 deletions