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 32979A0C47; Tue, 6 Jul 2021 13:16:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EFFFC41288; Tue, 6 Jul 2021 13:16:32 +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 397CA40688 for ; Tue, 6 Jul 2021 13:16:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1625570190; 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=ok9xRy2/aJ4D7BmywqUg3goFWW9eB1/9B7MsZcCRI9A=; b=EpPPnDmRHJg8exXDeme0rkuSZsl9bfIPNVtHdFld1gQ6sR5gX54T+HhcFcX9zVeSTJfksN dhKgNxG8ry78KvoICyLnSLq5hmsLzbLqN6V1PwdMnj1QKkVv6pubJQJe6Eu5F1bw2yzTFu NDgtOSCz6rcUhTZx/BwNeIwFsRzbMZ8= Received: from mail-ua1-f70.google.com (mail-ua1-f70.google.com [209.85.222.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-367-s2xBOYAHNOW8Nx3uQT5_gw-1; Tue, 06 Jul 2021 07:16:29 -0400 X-MC-Unique: s2xBOYAHNOW8Nx3uQT5_gw-1 Received: by mail-ua1-f70.google.com with SMTP id 34-20020a9f20250000b0290299365741bfso6362323uam.2 for ; Tue, 06 Jul 2021 04:16:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ok9xRy2/aJ4D7BmywqUg3goFWW9eB1/9B7MsZcCRI9A=; b=b1/vzS2OTk2q8AUl5D1GgGVR56SJAEPZJbSCQ7Q9UfGkILXwSdbRYHm87PJyarr09K 2OMNLeaMlylip3m+bTNSrMDE5PSx2uyW9hJzbpua1ILrsXf8r5sujBo6ETXet0ZaNeRP jMJKyRVcffKXBLpE7QXIzBohvSkWYbPSRrW0BMDUFsItHk4VeyOaifvqcYdHBb/XTusL M/9Qst23ZZeVe6dyIIe9xWHQPPLGCUsRqnZOR4LD6Pp5nOwO4lcu12iddHWySL0SOhBZ Tz/55EcIdb3y3k0miFIklr4117ZXYoba6gcoOYn67c7kJpAG9AWYo29AxQeL1iWQ/obA ny8Q== X-Gm-Message-State: AOAM530GV0b+aDJH4wZC7WvCeWrQ/wD9wiupsRURcAw0hcctXjOUb3bd 2F9g3voPPIqB7hoGpM1K+oHnQzJgQOrD/X1Q1AU6kpSq1RXIlA4OKD5Bxt1tU2PA6R32AhMG79b QsIM79MG7X57oI5FhiFk= X-Received: by 2002:a1f:26cd:: with SMTP id m196mr12866276vkm.9.1625570188760; Tue, 06 Jul 2021 04:16:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzfRNwvcnYghIEvdnxKQJG2ri85TCXSxWQ0UagNSNIaYIMYaxMfjKfacVfkELBD1Zgqu6HfgGeYdcAkP/IUVz8= X-Received: by 2002:a1f:26cd:: with SMTP id m196mr12866254vkm.9.1625570188561; Tue, 06 Jul 2021 04:16:28 -0700 (PDT) MIME-Version: 1.0 References: <20210616065257.16044-1-david.marchand@redhat.com> In-Reply-To: <20210616065257.16044-1-david.marchand@redhat.com> From: David Marchand Date: Tue, 6 Jul 2021 13:16:17 +0200 Message-ID: To: dev Cc: Gaetan Rivet , dpdk stable , Owen Hilyard , Jerin Jacob 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-dev] [PATCH] bus/pci: fix leak for unbound devices 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 Sender: "dev" On Wed, Jun 16, 2021 at 8:53 AM David Marchand wrote: > > For devices not bound to any Linux kernel module, we leak a pci object > since it is never added to the PCI bus device list. > > Fixes: c79a1c67465d ("bus/pci: optimize bus scan") > Cc: stable@dpdk.org > > Reported-by: Owen Hilyard > Signed-off-by: David Marchand Applied. -- David Marchand