WSL2-Linux-Kernel/net/sunrpc/xprtrdma
Christian Engelmayer 59fb30660b sunrpc: potential memory leak in function rdma_read_xdr
In case the check on ch_count fails the cleanup path is skipped and the
previously allocated memory 'rpl_map', 'chl_map' is not freed.

Reported by Coverity.

Signed-off-by: Christian Engelmayer <christian.engelmayer@frequentis.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
2009-06-15 19:34:32 -07:00
..
Makefile rdma: makefile 2008-02-01 16:42:14 -05:00
rpc_rdma.c XPRTRDMA: correct an rpc/rdma inline send marshaling error 2009-03-11 14:37:55 -04:00
svc_rdma.c svcrdma: Create a kmem cache for the WR contexts 2008-07-02 15:02:01 -05:00
svc_rdma_marshal.c rdma: ONCRPC RDMA protocol marshalling 2008-02-01 16:42:14 -05:00
svc_rdma_recvfrom.c sunrpc: potential memory leak in function rdma_read_xdr 2009-06-15 19:34:32 -07:00
svc_rdma_sendto.c svcrdma: dma unmap the correct length for the RPCRDMA header page. 2009-05-27 18:57:24 -04:00
svc_rdma_transport.c svcrdma: dma unmap the correct length for the RPCRDMA header page. 2009-05-27 18:57:24 -04:00
transport.c net: replace NIPQUAD() in net/*/ 2008-10-31 00:54:56 -07:00
verbs.c XPRTRDMA: fix client rpcrdma FRMR registration on mlx4 devices 2009-05-26 14:51:00 -04:00
xprt_rdma.h RPC/RDMA: harden connection logic against missing/late rdma_cm upcalls. 2008-10-10 15:13:31 -04:00