[PATCH] nvmet-rdma: add queue to queue list only if connection established

Christoph Hellwig hch at lst.de
Sun Nov 6 08:43:54 PST 2016


On Sun, Nov 06, 2016 at 11:48:10AM +0200, Sagi Grimberg wrote:
> In case we accepted a queue connection and it failed, we might not
> remove the queue from the list. Instead of dealing with it, simply
> add the insert the queue only if we successfully established.

But that means we'd potentionally leak it when unloading the module,
if that happens at just the wrong time, don't we?



More information about the Linux-nvme mailing list