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 5CC8C43BBA for ; Thu, 7 Mar 2024 13:45:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3987B4067E; Thu, 7 Mar 2024 13:45:48 +0100 (CET) Received: from mail-yw1-f170.google.com (mail-yw1-f170.google.com [209.85.128.170]) by mails.dpdk.org (Postfix) with ESMTP id 3EB9B40272 for ; Thu, 7 Mar 2024 13:45:46 +0100 (CET) Received: by mail-yw1-f170.google.com with SMTP id 00721157ae682-60983233a0dso9111077b3.3 for ; Thu, 07 Mar 2024 04:45:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709815545; x=1710420345; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=yiWHJFW0hejm39NVZjcut53ilbYtLgBahH3rJ9z9Wso=; b=N/fCLg3RHxjZ1jbvEIYirRmxR+Clq2EN19Zk5y+MVRI/qROYw6dqGsqI9Bku0n7v7o CKYFy+VI/gwlvMN+uRcQxsQ1/wlIwce4zHW9Qe0dFuxT0DHGMQs2Vq9xcY4ALo2P3fJR PcuXPwGX8/k8uEX189NNdQtc9iObMOdBRc0ALRm3L+j41vs32VsYvpnES3wU95TsgaS1 nX5959z3L2Ak6QjMiPmDvoaNQF9YSNyEM8w3oRjhLaK32EdbcuVVFaA4zsF3yKHtvv99 Cif8KhQhvhyMcbWS9xA+MJ2qxDtTdHPBCq40p+MaW92E27yak91aHv1b87X4pg0/Jnu2 Cf1g== X-Gm-Message-State: AOJu0YwYMWKkBY6947sraihsodFxdpFAsAeaeapgwOB1D1AJkWxhIkBB SYq4HZ4JDk/IpNceQQZRpftoELlX0JR5px6oKVAfmwbLAJe5Plr1pjfF7CdQBxlkIw== X-Google-Smtp-Source: AGHT+IGytJJUH0HQuEg8/qwqpG1CRf82b8kL0edKsiRCAmcwoZOyGy028I0sPqCl7+uae7XdYZFPLg== X-Received: by 2002:a05:690c:5:b0:609:840a:50ff with SMTP id bc5-20020a05690c000500b00609840a50ffmr19991204ywb.13.1709815545392; Thu, 07 Mar 2024 04:45:45 -0800 (PST) Received: from mail-yw1-f169.google.com (mail-yw1-f169.google.com. [209.85.128.169]) by smtp.gmail.com with ESMTPSA id t1-20020a81e441000000b00607af248292sm4100369ywl.49.2024.03.07.04.45.44 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 Mar 2024 04:45:45 -0800 (PST) Received: by mail-yw1-f169.google.com with SMTP id 00721157ae682-6095dfcb461so8272877b3.2 for ; Thu, 07 Mar 2024 04:45:44 -0800 (PST) X-Received: by 2002:a81:9143:0:b0:609:ed7c:4323 with SMTP id i64-20020a819143000000b00609ed7c4323mr1707800ywg.49.1709815544655; Thu, 07 Mar 2024 04:45:44 -0800 (PST) MIME-Version: 1.0 References: <20240307080604.4028280-1-david.marchand@redhat.com> In-Reply-To: <20240307080604.4028280-1-david.marchand@redhat.com> From: Luca Boccassi Date: Thu, 7 Mar 2024 12:45:33 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 22.11] vhost: fix virtqueue access check in vhost-user setup To: David Marchand Cc: stable@dpdk.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On Thu, 7 Mar 2024 at 08:06, David Marchand wrote: > > [ upstream commit b3e42d92362bcc75df21c5b86ba7c0685b40a3bf ] > > Calling vring_invalidate must be done with a (write) lock taken on the > virtqueue. > > Fixes: 72d002b3ebda ("vhost: fix vring address handling during live migration") > > Signed-off-by: David Marchand > Acked-by: Eelco Chaudron > Reviewed-by: Maxime Coquelin > --- > lib/vhost/vhost_user.c | 2 ++ > 1 file changed, 2 insertions(+) Thanks, applied