From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B23A1439B4; Wed, 24 Jan 2024 10:38:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 81C9A402AB; Wed, 24 Jan 2024 10:38:48 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 2DFB74026F for ; Wed, 24 Jan 2024 10:38:47 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 1DC7E439B5; Wed, 24 Jan 2024 10:38:47 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: =?UTF-8?B?W0RQREsgQnVnIDEzMzhdIFtkcGRrLTIyLjExLjRdIHZob3N0X3Zp?= =?UTF-8?B?cnRpb191c2VyX2ludGVycnVwdF93aXRoX3Bvd2VyX21vbml0b3IvcGVyZl93?= =?UTF-8?B?YWtlX3VwX3NwbGl0X3Jpbmdfdmhvc3RfdXNlcl9jb3JlX3dpdGhfbDNmd2Rf?= =?UTF-8?B?cG93ZXJfc2FtcGxl77yadmlydGlvLXVzZXIgY2FuJ3QgcmVjZWl2ZSBwYWNr?= =?UTF-8?B?ZXQ=?= Date: Wed, 24 Jan 2024 09:38:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: vhost/virtio X-Bugzilla-Version: 22.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: linglix.chen@intel.com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: multipart/alternative; boundary=17060891260.3366Ccf33.755514 Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org --17060891260.3366Ccf33.755514 Date: Wed, 24 Jan 2024 10:38:46 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All https://bugs.dpdk.org/show_bug.cgi?id=3D1338 linglix.chen@intel.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #2 from linglix.chen@intel.com --- 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 A= PI") Cc: stable@dpdk.org Signed-off-by: Maxime Coquelin --=20 You are receiving this mail because: You are the assignee for the bug.= --17060891260.3366Ccf33.755514 Date: Wed, 24 Jan 2024 10:38:46 +0100 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All linglix.chen@in= tel.com changed bug 1338
What Removed Added
Status UNCONFIRMED RESOLVED
Resolution --- FIXED

Comment # 2 on bug 1338 from linglix.ch= en@intel.com
fix commit dc9c799c7d vhost: fix m=
issing 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 moni=
tor API")
Cc: stable@dpdk.org

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
          


You are receiving this mail because:
  • You are the assignee for the bug.
=20=20=20=20=20=20=20=20=20=20
= --17060891260.3366Ccf33.755514--