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

From: Bart Van Assche
Date: Tue Nov 17 2015 - 12:06:23 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/