diff options
author | 2016-11-03 15:01:36 +0000 | |
---|---|---|
committer | 2016-11-03 15:01:36 +0000 | |
commit | 5fbe424424538d14471be7a4d54887e10b5223b9 (patch) | |
tree | 853b338cce545c0f6eddcbc0863a100cd7d4bfbb /lib/libc/stdlib/reallocarray.c | |
parent | switch to using BUILDUSER and add more error checking (diff) | |
download | wireguard-openbsd-5fbe424424538d14471be7a4d54887e10b5223b9.tar.xz wireguard-openbsd-5fbe424424538d14471be7a4d54887e10b5223b9.zip |
Add locks to key-value pair pools
We need to ensure list and data consistency during concurrent
accesses since the interrupt handler is not executed under the
kernel lock and may add or modify entries while userland process
is reading the value or traversing the list.
Diffstat (limited to 'lib/libc/stdlib/reallocarray.c')
0 files changed, 0 insertions, 0 deletions