commit | 192daa18dd7bfcaeb092a2ef928135745f2e6883 | [log] [tgz] |
---|---|---|
author | Roland Dreier <rolandd@cisco.com> | Fri Mar 24 15:47:30 2006 -0800 |
committer | Roland Dreier <rolandd@cisco.com> | Fri Mar 24 15:47:30 2006 -0800 |
tree | f6bff7aac7acd0ec5935fa0ada2889d77f58d6f4 | |
parent | 4e37b956161c3a3b160972c11c55f07b38b9830c [diff] |
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>