summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authornandfan <fanyufei521@outlook.com>2021-03-25 14:24:53 +0800
committerFlorin Coras <florin.coras@gmail.com>2021-03-25 19:54:18 +0000
commitabd8b36d19408403a40d24aa411686d52011a844 (patch)
treec41e12b946a922a65957da1b9e265abc9d5b14a7 /src/vnet
parent418bf6aaef6048d15bc1f575a166e8f5e52696be (diff)
svm: fix producer deadlock in svm_msg_q_wait()
1. When producer invokes svm_msg_q_wait() in svm_msg_q_lock_and_alloc_msg_w_ring(), queue mutex is held by itself. 2. Sometimes, svm msg queue is not full and ring is full, svm_msg_q_wait() do nothing with mutex held, consumer will blocking at svm_msg_q_send_signal(). Type: fix Signed-off-by: nandfan <fanyufei521@outlook.com> Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Ib90b87ab76534cd42e9a4c3e11703e80d93ca678
Diffstat (limited to 'src/vnet')
0 files changed, 0 insertions, 0 deletions