[openib-general] [PATCH] Missing check for atomic_dec in ib_post_send_mad

Hal Rosenstock halr at voltaire.com
Wed Nov 3 06:01:49 PST 2004


On Tue, 2004-11-02 at 21:33, Krishna Kumar wrote:
> Hi Sean,
> 
> I guess you meant "even if solicited is NOT set". What you described is
> right, the race will mean that the remove_mad_reg_req() will free things
> like method/class, while the find_mad_agent looks through the version
> and class to find the mad_agent. This patch will fix it correctly.
> 
> I have also cleaned up a hack in ib_mad_recv_done_handler() where a
> test for '!mad_agent' was being done to determine whether to free 'recv'
> or not :-).

Thanks. Applied.

-- Hal




More information about the general mailing list