IB/rxe: Fix ref leak in rxe_create_qp()
authorAndrew Boyer <andrew.boyer@dell.com>
Wed, 23 Nov 2016 17:39:23 +0000 (12:39 -0500)
committerDoug Ledford <dledford@redhat.com>
Mon, 12 Dec 2016 21:31:45 +0000 (16:31 -0500)
commit5b9ea16c5488e577b26cc198ac63550b746ce3b9
tree9dc62345572d7263bdbe5c244b7b00e88d25f560
parentaccacb8f51c299965939ac56926d1c718e2691a1
IB/rxe: Fix ref leak in rxe_create_qp()

The udata->inlen error path needs to clean up the ref
added by rxe_alloc().

Signed-off-by: Andrew Boyer <andrew.boyer@dell.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rxe/rxe_verbs.c