mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 09:02:00 +00:00
IB/ehca: Fix mem leak of firmware ctrlblock in ehca_create_srq()
Signed-off-by: Hoang-Nam Nguyen <hnguyen@de.ibm.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
This commit is contained in:
parent
cd9281d873
commit
03f72a51cb
@ -890,6 +890,8 @@ struct ib_srq *ehca_create_srq(struct ib_pd *pd,
|
||||
goto create_srq2;
|
||||
}
|
||||
|
||||
ehca_free_fw_ctrlblock(mqpcb);
|
||||
|
||||
return &my_qp->ib_srq;
|
||||
|
||||
create_srq2:
|
||||
|
Loading…
Reference in New Issue
Block a user