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 8766443CA0; Wed, 13 Mar 2024 15:46:59 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 76BDB42E06; Wed, 13 Mar 2024 15:46:59 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 4EFC7402B8 for ; Wed, 13 Mar 2024 15:46:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1710341217; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wwdt6+nTfYXHMd7jV3ND3UZLifPa/i83Tjzz+Nlbjvs=; b=Z6ZbkeNMqeA19KovTUoOjUesTdYy3AmRJG2aDFqvTeZpU1cLGXSTcDkdFc1j8PsMVqvS+a wGtgb/x/BxS0pzXYBswOdzhiOemvVNLmqXJ8LNaVEsu6H+jc0Fz34us1tVkzc6vpiHkJua S0Vi0xOL6joKU8j6MvUSlZVlxbLWhFQ= Received: from mail-lj1-f200.google.com (mail-lj1-f200.google.com [209.85.208.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-681-_jg694NXNy-J9tMJJsLA3Q-1; Wed, 13 Mar 2024 10:46:56 -0400 X-MC-Unique: _jg694NXNy-J9tMJJsLA3Q-1 Received: by mail-lj1-f200.google.com with SMTP id 38308e7fff4ca-2d401e3e388so9300391fa.1 for ; Wed, 13 Mar 2024 07:46:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710341215; x=1710946015; h=content-transfer-encoding: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=wwdt6+nTfYXHMd7jV3ND3UZLifPa/i83Tjzz+Nlbjvs=; b=Ru7AvNsxK0E6mU06zNNoGAGtZ3L7U2cT/ecDwHkPBaczpOfEi70l3fkZvXWkUlGw0O V30WtyjuEhH2phE32v67o4yGjD/JxuZEfu1bGEXtRVX+uM/qJs17d0uvfG1xnk2Wi28o hjZvPf7MyxjqwquuCKkr4PWZJFdosDA1lKk3NEN4xhSIjNXrUCmovPy1Fkl/6dPRDxTp SmBz3MDbzVSeKVa3XM2ofYxXUAZGqjeHYe0aJYm15FLYn4w/8Tv7aR0+O8Rk68ffcIT4 VbD2Ab5rsW8UIHC8sU2XVRxgmY2wX0WngHOIpup5rtFmjfA5oEeDadoTPhfXuS1vqjSw RvHA== X-Gm-Message-State: AOJu0Yz0vqkcREk3U+7DMzaS/xE3qdejVqc4ondaXyftGBxMnxu62im5 K2ZhX7INbgtyRByrmGnmFYuSNeuzNv0/wI0rD3yjKbOEMlVZKS96bKayV2VCdCkXMRdw88XlRqf PC1FyUwuDlmloCz4e8V/iLTWO7eE9GJ0HJw2ak4/V/x7qOGdanFgeSPGRZWBZYl7qu6XUaJr2Al UoEbIaXXbuFcGJsNpB2I3bd8E= X-Received: by 2002:a05:6512:2027:b0:513:5c68:9646 with SMTP id s7-20020a056512202700b005135c689646mr2017404lfs.43.1710341215200; Wed, 13 Mar 2024 07:46:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEgHUJOmDMgu7KA175jDSuRXWsZZEjb4chAa6+lAJcHRmf9j/1ZkWwc3AcmeG1YIXh4pMg18lhZFCbAPVpTfG4= X-Received: by 2002:a05:6512:2027:b0:513:5c68:9646 with SMTP id s7-20020a056512202700b005135c689646mr2017393lfs.43.1710341214884; Wed, 13 Mar 2024 07:46:54 -0700 (PDT) MIME-Version: 1.0 References: <20240307103624.610080-1-david.marchand@redhat.com> In-Reply-To: <20240307103624.610080-1-david.marchand@redhat.com> From: David Marchand Date: Wed, 13 Mar 2024 15:46:42 +0100 Message-ID: Subject: Re: [PATCH] vhost: fix virtqueue access lock check for handlers To: David Marchand Cc: dev@dpdk.org, Maxime Coquelin , Chenbo Xia , Kevin Traynor X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 On Thu, Mar 7, 2024 at 11:36=E2=80=AFAM David Marchand wrote: > > As the vhost library may receive a request for an unsupported request, > it is necessary to check msg_handler before checking if locking queue > pairs is requested. > > Coverity issue: 415049 > Fixes: 5e8fcc60b59d ("vhost: enhance virtqueue access lock asserts") > > Signed-off-by: David Marchand Applied, thanks. --=20 David Marchand