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 D08AEA0C43 for ; Thu, 30 Sep 2021 20:44:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 985B940DDA; Thu, 30 Sep 2021 20:44:08 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id AE56740DDA for ; Thu, 30 Sep 2021 20:44:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1633027447; 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: in-reply-to:in-reply-to:references:references; bh=Ow8XFV/nGq6SAKghzSorPLHeEuFxP9RneC7w6DCmtSo=; b=EKQDKpQj/hPFReNRVTxwLNDXNt5uE+b8Hze/objwxG6AUTWyQbioE2d11zS/2ltB57nWVI vwQqRftJ8FAj8l3oOwaTm+2k8TtNu/AtdxPwhK+OfTwoielIwxPfJMlEmAxDeQKgmC8vKf ueb61GmBwPWOU0iyQdfqJiknvP2f+XQ= Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-497-MTrNQgxAP3SQD3HGzK6FJw-1; Thu, 30 Sep 2021 14:44:03 -0400 X-MC-Unique: MTrNQgxAP3SQD3HGzK6FJw-1 Received: by mail-lf1-f71.google.com with SMTP id c6-20020a05651200c600b003fc6d39efa4so6572964lfp.12 for ; Thu, 30 Sep 2021 11:44:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ow8XFV/nGq6SAKghzSorPLHeEuFxP9RneC7w6DCmtSo=; b=l9IXCacLTkq7rnVnuFNDgmE0Glkkigyv2Hb9HGol74TX67cegsa/ZhrlhwDrUcJ0BA kYoIyyKD6V7OVmtsRPYzYEgImTJx1fA35XpDcWDc+zY/e1LkXwz2EF9XG4a+a3Ntv/ZX bMdhcwtVzVFXBvW9Va2k5fKXw+20vKMhkLNLAR33pPxy6P2sSnNjgIPtxNadMx2kysbk gm3uZRYsOdkZCeKKWkpZjbe3dJQHMopcFJ5nMqt/1sUW968KTcmRjdgAzXFlnfbIfAKM 4WuLZeyAN8Dh6Kp1Tt7jyTGuDLeIuAEwUvFvhqhSujUZl6OhIFj4kzoAn2/M+yB+Qpg+ nusg== X-Gm-Message-State: AOAM530TziKjHegyuhwNdaCW1CpeupL++bZhVT6bAIa3SeF0WbyENTY5 G66LQJO/NrtT5C8IdLTcEkASRl5Tpel2ENqoSPYiY3hGpzN5h4EFj4eZPwSKuipDZPhUlZLuq5y ED7v8J+kWTWvGz6Siq21UdC0= X-Received: by 2002:a2e:9a98:: with SMTP id p24mr7557493lji.55.1633027442071; Thu, 30 Sep 2021 11:44:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxgXEcf3R+JJlvQlGNYPcjaJIKxvwKuS7f7TsUsERgXkAc+fEJLFSjejnVqdGTwi/oZN8lZeCes+nG768IDX0Q= X-Received: by 2002:a2e:9a98:: with SMTP id p24mr7557464lji.55.1633027441797; Thu, 30 Sep 2021 11:44:01 -0700 (PDT) MIME-Version: 1.0 References: <20210804083128.64981-1-zhihongx.peng@intel.com> In-Reply-To: From: David Marchand Date: Thu, 30 Sep 2021 20:43:50 +0200 Message-ID: To: "Peng, ZhihongX" Cc: Kevin Traynor , "Xia, Chenbo" , Maxime Coquelin , dev , Ivan Ilchenko , dpdk stable , Christian Ehrhardt , "Xueming(Steven) Li" , Luca Boccassi Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-stable] [DPDK] net/virtio: fix check scatter on all Rx queues 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 Sender: "stable" On Wed, Sep 22, 2021 at 10:13 AM Peng, ZhihongX wrote: > > On 15/09/2021 19:37, David Marchand wrote: > > > On Wed, Aug 4, 2021 at 10:36 AM wrote: > > >> > > >> From: Zhihong Peng > > >> > > >> This patch fixes the wrong way to obtain virtqueue. > > >> The end of virtqueue cannot be judged based on whether the array is > > >> NULL. > > > > > > Indeed, good catch. > > > > > > I can reproduce a crash with v20.11.3 which has backport of 4e8169eb0d2d. > > > I can not see it with main: maybe due to a lucky allocation or size > > > requested to rte_zmalloc... ? > > > > > This problem was discovered through google asan, we have submitted DPDK ASan patch. > http://patchwork.dpdk.org/project/dpdk/patch/20210918074155.872358-1-zhihongx.peng@intel.com/ Can you work on a v2? Maxime had comments. https://inbox.dpdk.org/dev/e1c512c1-9766-1cd8-816b-8a77d13d53d6@redhat.com/ -- David Marchand