linux/drivers/infiniband
José Expósito bee90911e0 IB/qib: Fix memory leak in qib_user_sdma_queue_pkts()
The wrong goto label was used for the error case and missed cleanup of the
pkt allocation.

Fixes: d39bf40e55 ("IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields")
Link: https://lore.kernel.org/r/20211208175238.29983-1-jose.exposito89@gmail.com
Addresses-Coverity-ID: 1493352 ("Resource leak")
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Acked-by: Mike Marciniszyn <mike.marciniszyn@cornelisnetworks.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-12-14 20:05:13 -04:00
..
core RDMA/nldev: Check stat attribute before accessing it 2021-11-17 16:45:16 -04:00
hw IB/qib: Fix memory leak in qib_user_sdma_queue_pkts() 2021-12-14 20:05:13 -04:00
sw RDMA: Fix use-after-free in rxe_queue_cleanup 2021-11-25 13:15:59 -04:00
ulp RDMA/rtrs: Call {get,put}_cpu_ptr to silence a debug kernel warning 2021-11-29 10:56:18 -04:00
Kconfig RDMA/irdma: Add irdma Kconfig/Makefile and remove i40iw 2021-06-02 20:06:36 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00