<html>
<head>
<base href="https://bugs.dpdk.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:linglix.chen@intel.com" title="linglix.chen@intel.com">linglix.chen@intel.com</a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [dpdk-22.11.4] vhost_virtio_user_interrupt_with_power_monitor/perf_wake_up_split_ring_vhost_user_core_with_l3fwd_power_sample:virtio-user can't receive packet"
href="https://bugs.dpdk.org/show_bug.cgi?id=1338">bug 1338</a>
<br>
<table border="1" cellspacing="0" cellpadding="8" class="bz_diff_table">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>UNCONFIRMED
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div class="bz_comment_block">
<b class="bz_comment_head"><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [dpdk-22.11.4] vhost_virtio_user_interrupt_with_power_monitor/perf_wake_up_split_ring_vhost_user_core_with_l3fwd_power_sample:virtio-user can't receive packet"
href="https://bugs.dpdk.org/show_bug.cgi?id=1338#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [dpdk-22.11.4] vhost_virtio_user_interrupt_with_power_monitor/perf_wake_up_split_ring_vhost_user_core_with_l3fwd_power_sample:virtio-user can't receive packet"
href="https://bugs.dpdk.org/show_bug.cgi?id=1338">bug 1338</a>
from <span class="vcard"><a class="email" href="mailto:linglix.chen@intel.com" title="linglix.chen@intel.com">linglix.chen@intel.com</a>
</span>
</b>
<pre class="bz_comment_text">fix commit dc9c799c7d vhost: fix missing spinlock unlock
Two regressions were introduced when backporting below
patch:
b4c4e5675c85 ("vhost: fix missing lock protection in power monitor API")
First, rte_vhost_get_monitor_addr did not release the lock
in the success case. Then, rte_rwlock_read_lock() was
converted to rte_spinlock_trylock() instead of
rte_spinlock_lock().
This patch addresses both of these issues.
Fixes: a07736eb68da ("vhost: fix missing lock protection in power monitor API")
Cc: <a href="mailto:stable@dpdk.org">stable@dpdk.org</a>
Signed-off-by: Maxime Coquelin <<a href="mailto:maxime.coquelin@redhat.com">maxime.coquelin@redhat.com</a>>
</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://bugs.dpdk.org/show_bug.cgi?id=1338#c2">
<meta itemprop="name" content="View bug">
</div>
<meta itemprop="description" content="Bugzilla bug update notification">
</div>
</body>
</html>