lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACKFLi=1nzFQ0-_nUJVcPEoG+1G9xCO=vXYcwqTHF5E7XcPEVw@mail.gmail.com>
Date:   Sun, 13 Nov 2022 11:25:00 -0800
From:   Michael Chan <michael.chan@...adcom.com>
To:     Gaosheng Cui <cuigaosheng1@...wei.com>
Cc:     davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
        pabeni@...hat.com, gospo@...adcom.com, netdev@...r.kernel.org
Subject: Re: [PATCH net] bnxt_en: Remove debugfs when pci_register_driver failed

On Thu, Nov 10, 2022 at 11:04 PM Gaosheng Cui <cuigaosheng1@...wei.com> wrote:
>
> When pci_register_driver failed, we need to remove debugfs,
> which will caused a resource leak, fix it.
>
> Resource leak logs as follows:
> [   52.184456] debugfs: Directory 'bnxt_en' with parent '/' already present!
>
> Fixes: cabfb09d87bd ("bnxt_en: add debugfs support for DIM")
> Signed-off-by: Gaosheng Cui <cuigaosheng1@...wei.com>

Thanks.
Reviewed-by: Michael Chan <michael.chan@...adcom.com>

Download attachment "smime.p7s" of type "application/pkcs7-signature" (4209 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ