aboutsummaryrefslogtreecommitdiff
path: root/src/transport/zerotier
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-04-04 09:41:12 -0700
committerGarrett D'Amore <garrett@damore.org>2018-04-04 09:41:12 -0700
commit0aa1de1316b46bb4af23fdf26759bca08008eaf5 (patch)
treeaad04dd247016e6ef31469d2f92b64e633565da9 /src/transport/zerotier
parent4e6a71bf2f0fdfdfe15a774a5d541aa22b8b9195 (diff)
downloadnng-0aa1de1316b46bb4af23fdf26759bca08008eaf5.tar.gz
nng-0aa1de1316b46bb4af23fdf26759bca08008eaf5.tar.bz2
nng-0aa1de1316b46bb4af23fdf26759bca08008eaf5.zip
fixes #324 nni_aio_set_synch leads to race condition
fixes #325 synchronous aio completion crash fixes #327 move nni_clock() operations to outside the nni_aio_lk. This work was done for the context tree, and is necessary to properly enable that branch.
Diffstat (limited to 'src/transport/zerotier')
-rw-r--r--src/transport/zerotier/zerotier.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/transport/zerotier/zerotier.c b/src/transport/zerotier/zerotier.c
index da22dc54..9fc0bc62 100644
--- a/src/transport/zerotier/zerotier.c
+++ b/src/transport/zerotier/zerotier.c
@@ -1368,7 +1368,6 @@ zt_wire_packet_send(ZT_Node *node, void *userptr, void *thr, int64_t socket,
// This should be non-blocking/best-effort, so while
// not great that we're holding the lock, also not tragic.
- nni_aio_set_synch(aio);
nni_plat_udp_send(udp, aio);
return (0);