Skip to content
Snippets Groups Projects
Commit 5d1af5c8 authored by Miroslaw Walukiewicz's avatar Miroslaw Walukiewicz Committed by Roland Dreier
Browse files

RDMA/nes: Fix resource issues in nes_create_cq() and nes_destroy_cq()


In error paths where a CQ is not created, pbl is not freeed properly.

In nes_destroy_cq(), add the corresponding check for nescq->mcrqf to
not call nes_free_resource() when it is already done in nes_create_cq().

Signed-off-by: default avatarMiroslaw Walukiewicz <miroslaw.walukiewicz@intel.com>
Signed-off-by: default avatarChien Tung <chien.tin.tung@intel.com>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent cc005fa2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment