[PATCH 1/1] nvme-rdma: Fix memory leak during queue allocation
Christoph Hellwig
hch at lst.de
Thu Nov 9 01:38:19 PST 2017
On Wed, Nov 08, 2017 at 03:00:32PM +0200, Max Gurtovoy wrote:
> In case nvme_rdma_wait_for_cm timeout expires before we get
> an established or rejected event (rdma_connect succeeded) from
> rdma_cm, we end up with leaking the ib resources for dedicated
> queue.
> This scenario can easily reproduced using traffic test during port
> toggling.
>
> Signed-off-by: Max Gurtovoy <maxg at mellanox.com>
Looks fine. but a little comment on the special casing of
-ETIMEDOUT would be nice.
More information about the Linux-nvme
mailing list