[PATCH v2] nvmet-tcp: fix page fragment cache leak in error path

Christoph Hellwig hch at lst.de
Wed May 27 06:44:41 PDT 2026


On Tue, May 26, 2026 at 05:22:22PM +0800, Geliang Tang wrote:
>  out_ida_remove:
>  	ida_free(&nvmet_tcp_queue_ida, queue->idx);
> +	/* Drain the page fragment cache if any allocations were done.

Kernel style is to keep the

	/*

on it's own line, but otherwise this looks great.  I think we can just
fix this up when applying.

Reviewed-by: Christoph Hellwig <hch at lst.de>



More information about the Linux-nvme mailing list