Re: [PATCH] RDMA/cma: Teach lockdep about the order of rtnl and lock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx>
> ---
>  drivers/infiniband/core/cma.c | 13 +++++++++++++
>  1 file changed, 13 insertions(+)

Lets give it a go, applied to for-next

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux