netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ido Schimmel <idosch@mellanox.com>
To: Liu Jian <liujian56@huawei.com>
Cc: jiri@mellanox.co, davem@davemloft.net, kuba@kernel.org,
	netdev@vger.kernel.org
Subject: Re: [PATCH net] mlxsw: destroy workqueue when trap_register in mlxsw_emad_init
Date: Mon, 20 Jul 2020 17:59:28 +0300	[thread overview]
Message-ID: <20200720145928.GA522956@shredder> (raw)
In-Reply-To: <20200720143150.40362-1-liujian56@huawei.com>

On Mon, Jul 20, 2020 at 10:31:49PM +0800, Liu Jian wrote:
> When mlxsw_core_trap_register fails in mlxsw_emad_init,
> destroy_workqueue() shouled be called to destroy mlxsw_core->emad_wq.
> 
> Fixes: d965465b60ba ("mlxsw: core: Fix possible deadlock")
> Signed-off-by: Liu Jian <liujian56@huawei.com>

Reviewed-by: Ido Schimmel <idosch@mellanox.com>

Thanks!

  reply	other threads:[~2020-07-20 14:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-20 14:31 [PATCH net] mlxsw: destroy workqueue when trap_register in mlxsw_emad_init Liu Jian
2020-07-20 14:59 ` Ido Schimmel [this message]
2020-07-21  0:56 ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200720145928.GA522956@shredder \
    --to=idosch@mellanox.com \
    --cc=davem@davemloft.net \
    --cc=jiri@mellanox.co \
    --cc=kuba@kernel.org \
    --cc=liujian56@huawei.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).