Re: [PATCH 3/9] IB: add a helper to safely drain a QP

Bart Van Assche
2015-11-17T17:06:17Z

On 11/15/2015 01:34 AM, Sagi Grimberg wrote:
> This is taken from srp, and srp drains using a recv wr due to a race
> causing a use-after-free condition in srp which re-posts a recv buffer
> in the recv completion handler.

Hello Sagi,

Would it be possible to clarify this ? Does this refer to an existing
race or a race that would only occur if the code would be modified ?

Thanks,

Bart.