Re: [PATCH] RDMA/srp: Fix potential fast registration list leak

From: Bart Van Assche

Date: Wed Nov 11 2026 - 12:29:04 EST


On 11/11/26 4:23 AM, Guangshuo Li wrote:
If the indirect descriptor allocation fails, srp_init_cmd_priv() returns
without freeing the fast registration list. The failed request does not
receive an exit_cmd_priv callback. Release the list on this error path.
Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>