]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IB/ehca: Remove reference to special QP in case of port activation failure
authorStefan Roscher <ossrosch@linux.vnet.ibm.com>
Tue, 11 Nov 2008 23:44:22 +0000 (15:44 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 11 Nov 2008 23:44:22 +0000 (15:44 -0800)
commitfad96ab62d38b94efbdb4c3c5fc55cb90d57937d
tree0e5e9e6427540ed4e9958fc192fb5f0e6a166754
parent332edc2f7fa58b818dfed1cede60272eecc27c0a
IB/ehca: Remove reference to special QP in case of port activation failure

If the initialization of a special QP (e.g. AQP1) fails due to a
software timeout, we have to remove the reference to that special QP
struct from the port struct to stop the driver from accessing the QP,
since it will be/has been destroyed by the caller, eg in this case
ib_mad.

Signed-off-by: Stefan Roscher <stefan.roscher@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ehca/ehca_irq.c
drivers/infiniband/hw/ehca/ehca_qp.c