aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ocrdma
diff options
context:
space:
mode:
authorZhu Yanjun <yanjun.zhu@oracle.com>2018-09-30 02:27:16 -0400
committerJason Gunthorpe <jgg@mellanox.com>2018-10-03 16:03:36 -0600
commitaae0484e15f062ad2c2502e68e15dfb8b8f84608 (patch)
treeb6a52926a9eaebce304dab267d8de55363b873dd /drivers/infiniband/hw/ocrdma
parentIB/mthca: Fix error return code in __mthca_init_one() (diff)
downloadlinux-dev-aae0484e15f062ad2c2502e68e15dfb8b8f84608.tar.xz
linux-dev-aae0484e15f062ad2c2502e68e15dfb8b8f84608.zip
IB/rxe: avoid srq memory leak
In rxe_queue_init, q and q->buf are allocated. In do_mmap_info, q->ip is allocated. When error occurs, rxe_srq_from_init and the later error handler do not free these allocated memories. This will make memory leak. Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/ocrdma')
0 files changed, 0 insertions, 0 deletions