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

Leon Romanovsky <[email protected]> Mon, 13 Jul 2026 17:56:08 +0300
Newsgroups org.kernel.vger.linux-hyperv,org.kernel.vger.linux-kernel,org.kernel.vger.linux-rdma
Message-ID <20260713145608.GO33197@unreal>
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 <[email protected]>

Thanks