android_kernel_xiaomi_sm8350/drivers/infiniband/hw
Roland Dreier c9c5d9feef IB/mthca: Fix memory leak on modify_qp error paths
Some error paths after the mthca_alloc_mailbox() call in mthca_modify_qp()
just do a "return -EINVAL" without freeing the mailbox.  Convert these
returns to "goto out" to avoid leaking the mailbox storage.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2006-06-17 20:37:41 -07:00
..
ipath IB/ipath: Add client reregister event generation 2006-06-17 20:37:37 -07:00
mthca IB/mthca: Fix memory leak on modify_qp error paths 2006-06-17 20:37:41 -07:00