[openib-general] Re: user_mad.c: deadlock?

Michael S. Tsirkin mst at mellanox.co.il
Wed Nov 9 09:53:27 PST 2005


Quoting r. Roland Dreier <rolandd at cisco.com>:
> Subject: Re: user_mad.c: deadlock?
> 
>     Michael> What about ib_umad_reg_agent error handling code in
>     Michael> ib_umad_reg_agent?  That seems to still call
>     Michael> ib_umad_unreg_agent from under the down_write.
> 
> I'm pretty sure that's OK, because it's not possible for any send
> requests to have been posted to that agent if we hit that error path.

What about recv_handler? That calls queue_packet too ...

-- 
MST



More information about the general mailing list