Re: [EXTERNAL] Re: [PATCH rdma-next v2] RDMA/mana_ib: hardening: Clamp adapter capability values from MANA_IB_GET_ADAPTER_CAP

From: Jason Gunthorpe

Date: Mon May 25 2026 - 19:02:13 EST


On Mon, May 25, 2026 at 11:58:17AM -0700, Erni Sri Satya Vennela wrote:
> > “There is no reason they should be signed, you should just fix the
> > type.”
>
> It is not allowed to change sign in props, so clamping is the best bet.

Why not? Fix the core code, it is just old junk they are signed, they
should't never have been.

Jason