[PATCH] nvme-rdma: Fix early queue flags settings

Christoph Hellwig hch at lst.de
Tue Sep 20 13:08:03 PDT 2016


On Tue, Sep 20, 2016 at 11:57:28AM -0700, Sagi Grimberg wrote:
> When we reconnect we can't really clear the
> queue flags (DELETING flag in specific) because
> we might end up trigerring a use-after-free condition
> if we fail to establish the rdma connection.

Can you add a comment explaining this to the assignment?  Looking
at the patch it looks like black magic to be, and that's even
after reading the above changelog..



More information about the Linux-nvme mailing list