Files
erofs-linux/drivers/infiniband/core
Chenguang Zhao e939334ea7 RDMA/core: Fix memory leak in __ib_create_cq() on invalid cqe
Move the zero CQE validation before rdma_zalloc_drv_obj() to avoid
leaking the CQ object when returning -EINVAL.

Fixes: a291758288 ("RDMA/core: Reject zero CQE count")
Link: https://patch.msgid.link/r/[email protected]
Signed-off-by: Chenguang Zhao <[email protected]>
Reviewed-by: Kalesh AP <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
2026-07-02 14:19:33 -03:00
..
…
…
…
2026-02-25 08:15:30 -05:00
2026-06-03 15:12:43 -03:00
2026-04-09 10:58:56 -03:00
…
…
…
…
…
…
…
…
…