Skip to content
Commit 5b6810e0 authored by Roland Dreier's avatar Roland Dreier
Browse files

[IPoIB] Rename ipoib_create_qp() -> ipoib_init_qp() and fix error cleanup



ipoib_create_qp() no longer creates IPoIB's QP, so it shouldn't
destroy the QP on failure -- that unwinding happens elsewhere, so the
current code can cause a double free.  While we're at it, the
function's name should match what it actually does, so rename it to
ipoib_init_qp().

Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent efaae8f7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment