Dear Developers:

I have discovered an issue in src/plugins/wireguard/wireguard_noise.c +416:

> 
> /* Now we need to add_new_keypair */
> clib_rwlock_writer_lock (&r->r_keypair_lock);
> /* Activate barrier to synchronization keys between threads */
> vlib_worker_thread_barrier_sync (vm);
> next = r->r_next;
> 
> 

If main thread get lock 'r->r_keypair_lock' and then wait for 'barrier', but 
now another thread wants same 'r->r_keypair_lock', it will not release the 
barrier.

Regards,
Rain
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#26300): https://lists.fd.io/g/vpp-dev/message/26300
Mute This Topic: https://lists.fd.io/mt/114946862/21656
Mute #plugin:https://lists.fd.io/g/vpp-dev/mutehashtag/plugin
Mute #wireguard:https://lists.fd.io/g/vpp-dev/mutehashtag/wireguard
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/14379924/21656/631435203/xyzzy 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to