[openib-general] Re: [PATCH] fix cleanup in MAD code when unloading HCA driver
Hal Rosenstock
halr at voltaire.com
Tue Nov 16 05:20:13 PST 2004
On Mon, 2004-11-15 at 18:48, Sean Hefty wrote:
> After looking at the code, I believe that there's a race condition
> cleaning up in the MAD code when unloading the HCA driver. The
> MAD layer can be processing a received MAD when the driver unloads,
> which can result in accessing the receive queue after all MADs
> on the receive queue have been freed.
>
> This patch should correct that issue, by delaying cleanup of
> the receive queues until after processing completions. A
> similar fix is applied recovering from errors when initializing
> the port.
Thanks. Applied.
-- Hal
More information about the general
mailing list