[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+sbYW15pcKBW32kYAj7gGkBt4RsG__XD+TVj8W7ovEF3HT8GA@mail.gmail.com>
Date: Mon, 16 Aug 2021 14:46:44 +0530
From: Selvin Xavier <selvin.xavier@...adcom.com>
To: Dinghao Liu <dinghao.liu@....edu.cn>
Cc: kjlu@....edu, Naresh Kumar PBS <nareshkumar.pbs@...adcom.com>,
Doug Ledford <dledford@...hat.com>,
Jason Gunthorpe <jgg@...pe.ca>, linux-rdma@...r.kernel.org,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] RDMA/bnxt_re: Remove redundant unlock in bnxt_re_dev_init
On Mon, Aug 16, 2021 at 2:26 PM Dinghao Liu <dinghao.liu@....edu.cn> wrote:
>
> Commit c2b777a95923 removes all rtnl_lock() and rtnl_unlock()
> in function bnxt_re_dev_init(), but forgets to remove a rtnl_unlock()
> in the error handling path of bnxt_re_register_netdev(), which may
> cause a deadlock. This bug is suggested by a static analysis tool,
> please advise.
>
> Fixes: c2b777a95923 ("RDMA/bnxt_re: Refactor device add/remove functionalities")
> Signed-off-by: Dinghao Liu <dinghao.liu@....edu.cn>
Acked-by: Selvin Xavier <selvin.xavier@...adcom.com>
Download attachment "smime.p7s" of type "application/pkcs7-signature" (4224 bytes)
Powered by blists - more mailing lists