On 24/06/2024 19:09, Michael Margolin wrote: > From: Yonatan Nachum <ynachum@xxxxxxxxxx> > > When creating a new CQ with interrupts enabled, the caller needs to > specify an EQ index to which the interrupts will be sent on, we don't > validate the requested index in the EQ array. > Validate out of bound reach of the EQ array and return an error. > > This is not a bug because IB core validates the requested EQ number when > creating a CQ. Then why is this patch needed? > > Reviewed-by: Firas Jahjah <firasj@xxxxxxxxxx> > Signed-off-by: Yonatan Nachum <ynachum@xxxxxxxxxx> > Signed-off-by: Michael Margolin <mrgolin@xxxxxxxxxx>