Re: [PATCH net v2] rds: ib: Increment i_fastreg_wrs before bailing out

From: Paolo Abeni
Date: Tue Sep 09 2025 - 06:56:44 EST


On 9/4/25 1:50 PM, Håkon Bugge wrote:
> We need to increment i_fastreg_wrs before we bail out from
> rds_ib_post_reg_frmr().
>
> Fixes: 1659185fb4d0 ("RDS: IB: Support Fastreg MR (FRMR) memory registration mode")
> Fixes: 3a2886cca703 ("net/rds: Keep track of and wait for FRWR segments in use upon shutdown")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Håkon Bugge <haakon.bugge@xxxxxxxxxx>

whoops, I replied to v1 by mistake:

https://lore.kernel.org/netdev/d918e832-c2ef-4fc8-864f-407bbcf06073@xxxxxxxxxx/T/#mb92f279c773d443313f9e0951a2107060078802c

But the comments apply here as well.

Thanks,

Paolo