]> git.baikalelectronics.ru Git - kernel.git/commit
IB/rxe: Fix kmem_cache leak
authorYonatan Cohen <yonatanc@mellanox.com>
Wed, 7 Sep 2016 11:04:07 +0000 (14:04 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 16 Sep 2016 18:14:08 +0000 (14:14 -0400)
commit036d934464c8862112f8389638db46684f827421
tree760b7443960d74c7abd8f96758898be23754892e
parente7afe54206c5562ff4c4178d48c8d0ec68e7929c
IB/rxe: Fix kmem_cache leak

Decrement qp reference when handling error path
in completer to prevent kmem_cache leak.

Fixes: c4397c211d7d ("Soft RoCE driver")
Signed-off-by: Yonatan Cohen <yonatanc@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rxe/rxe_comp.c