All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@ziepe.ca>
To: linux-rdma@vger.kernel.org
Cc: Bernard Metzler <bmt@zurich.ibm.com>, parav@mellanox.com
Subject: Re: [PATCH] RDMA/cma: Teach lockdep about the order of rtnl and lock
Date: Tue, 10 Mar 2020 14:27:30 -0300	[thread overview]
Message-ID: <20200310172730.GA5656@ziepe.ca> (raw)
In-Reply-To: <20200227203651.GA27185@ziepe.ca>

On Thu, Feb 27, 2020 at 04:36:51PM -0400, Jason Gunthorpe wrote:
> This lock ordering only happens when bonding is enabled and
> a certain bonding related event fires. However, since it can happen this
> is a global restriction on lock ordering.
> 
> Teach lockdep about the order directly and unconditionally so bugs here
> are found quickly.
> 
> See https://syzkaller.appspot.com/bug?extid=55de90ab5f44172b0c90
> 
> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
> ---
>  drivers/infiniband/core/cma.c | 13 +++++++++++++
>  1 file changed, 13 insertions(+)

Lets give it a go, applied to for-next

Jason

      reply	other threads:[~2020-03-10 17:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-27 20:36 [PATCH] RDMA/cma: Teach lockdep about the order of rtnl and lock Jason Gunthorpe
2020-03-10 17:27 ` Jason Gunthorpe [this message]

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=20200310172730.GA5656@ziepe.ca \
    --to=jgg@ziepe.ca \
    --cc=bmt@zurich.ibm.com \
    --cc=linux-rdma@vger.kernel.org \
    --cc=parav@mellanox.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.