linux-stable/drivers/infiniband
Gerd Rausch 74f160ead7 RDMA/cma: Fix rdma_resolve_route() memory leak
Fix a memory leak when "mda_resolve_route() is called more than once on
the same "rdma_cm_id".

This is possible if cma_query_handler() triggers the
RDMA_CM_EVENT_ROUTE_ERROR flow which puts the state machine back and
allows rdma_resolve_route() to be called again.

Link: https://lore.kernel.org/r/f6662b7b-bdb7-2706-1e12-47c61d3474b6@oracle.com
Signed-off-by: Gerd Rausch <gerd.rausch@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-06-25 12:00:19 -03:00
..
core RDMA/cma: Fix rdma_resolve_route() memory leak 2021-06-25 12:00:19 -03:00
hw RDMA/hns: Add window selection field of congestion control 2021-06-24 15:14:06 -03:00
sw RDMA/rxe: Fix redundant skb_put_zero 2021-06-22 15:38:53 -03:00
ulp IB/isert: Align target max I/O size to initiator size 2021-06-24 09:07:53 -03:00
Kconfig RDMA/irdma: Add irdma Kconfig/Makefile and remove i40iw 2021-06-02 20:06:36 -03:00
Makefile