[PATCH 1/1] nvmet-rdma: Add error flow for post_recv failures

Christoph Hellwig hch at lst.de
Tue Apr 17 08:14:05 PDT 2018


On Mon, Apr 16, 2018 at 04:25:52PM +0300, Max Gurtovoy wrote:
> Posting receive buffer operation can fail, thus we should
> make sure there is no memory leakage in that flow.

This looks reasonable, but can you explain the memory leak a bit
better?  In general once posting a WR fails we should be tearing
down the QP rather sooner than later, where are we leaking memory?



More information about the Linux-nvme mailing list