Re: [PATCH rdma-next 1/2] RDMA/bnxt_re: Validate udata before destroying resources

From: Leon Romanovsky

Date: Mon Jul 13 2026 - 11:04:39 EST


On Mon, Jul 13, 2026 at 10:21:49AM -0400, Jacob Moroni wrote:
> These changes look good but there is also a call to ib_respond_empty_udata
> in bnxt_re_resize_cq (but that method does take input data).
>
> Is that one a problem? I guess the resize could complete but the upper
> layers would think it failed if the ib_respond_empty_udata call fails?

I think that modify verbs should be fixed too.

>
> Reviewed-by: Jacob Moroni <jmoroni@xxxxxxxxxx>

Thanks