rds: ib: Fix missing call to rds_ib_dev_put in rds_ib_setup_qp
authorDag Moxnes <dag.moxnes@oracle.com>
Wed, 25 Apr 2018 11:22:01 +0000 (13:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Apr 2018 18:34:08 +0000 (14:34 -0400)
commit91a825290ca4eae88603bc811bf74a45f94a3f46
tree0b121e49c126f4f7d17b3ff902147b47f084ee05
parent070204a34884110ac5e19c1e2e036fcfd033f8e3
rds: ib: Fix missing call to rds_ib_dev_put in rds_ib_setup_qp

The function rds_ib_setup_qp is calling rds_ib_get_client_data and
should correspondingly call rds_ib_dev_put. This call was lost in
the non-error path with the introduction of error handling done in
commit 3b12f73a5c29 ("rds: ib: add error handle")

Signed-off-by: Dag Moxnes <dag.moxnes@oracle.com>
Reviewed-by: HÃ¥kon Bugge <haakon.bugge@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/ib_cm.c