Files
linux/drivers
José Expósito 79dcbd8176 IB/qib: Fix memory leak in qib_user_sdma_queue_pkts()
[ Upstream commit bee90911e0 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-12-29 12:23:34 +01:00
..
2021-12-14 14:49:02 +01:00
2021-12-22 09:29:36 +01:00
2021-07-14 16:53:42 +02:00
2021-10-20 11:40:15 +02:00
2021-12-29 12:23:33 +01:00
2021-11-17 09:48:20 +01:00
2021-09-26 14:07:14 +02:00