Thread (10 messages) 10 messages, 3 authors, 2020-02-28

Re: possible deadlock in cma_netdev_callback

From: Jason Gunthorpe <jgg@ziepe.ca>
Date: 2020-02-27 15:53:39
Also in: linux-rdma, lkml

On Thu, Feb 27, 2020 at 10:11:13AM +0000, Bernard Metzler wrote:
Thanks for letting me know! Hmm, we cannot use RCU locks since
we potentially sleep. One solution would be to create a list
of matching interfaces while under lock, unlock and use that
list for calling siw_listen_address() (which may sleep),
right...?
Why do you need to iterate over addresses anyhow? Shouldn't the listen
just be done with the address the user gave and a BIND DEVICE to the
device siw is connected to?

Also that loop in siw_create looks wrong to me

Jason
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help