]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IPoIB] Rename ipoib_create_qp() -> ipoib_init_qp() and fix error cleanup
authorRoland Dreier <rolandd@cisco.com>
Tue, 11 Oct 2005 18:08:24 +0000 (11:08 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 17 Oct 2005 22:20:29 +0000 (15:20 -0700)
commit5b6810e048435de508ef66aebd6b78db13d651b8
treeb54df96d5821a6ed41d778bf1ecfb54dbc7a4999
parentefaae8f71f3088cc73c9e5ceabbd314aa82ac768
[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: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib.h
drivers/infiniband/ulp/ipoib/ipoib_ib.c
drivers/infiniband/ulp/ipoib/ipoib_verbs.c