]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IB/mthca: Fix modify QP error path
authorRoland Dreier <rolandd@cisco.com>
Fri, 24 Mar 2006 23:47:30 +0000 (15:47 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 24 Mar 2006 23:47:30 +0000 (15:47 -0800)
commit192daa18dd7bfcaeb092a2ef928135745f2e6883
treef6bff7aac7acd0ec5935fa0ada2889d77f58d6f4
parent4e37b956161c3a3b160972c11c55f07b38b9830c
IB/mthca: Fix modify QP error path

If the call to mthca_MODIFY_QP() failed, then mthca_modify_qp() would
still do some things it shouldn't, such as store away attributes for
special QPs.  Fix this, and simplify the code, by simply jumping to
the exit path if mthca_MODIFY_QP() fails.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_qp.c