• Roland Dreier's avatar
    IB/mthca: Fix modify QP error path · 192daa18
    Roland Dreier authored
    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: default avatarRoland Dreier <rolandd@cisco.com>
    192daa18
mthca_qp.c 59.6 KB