]> git.baikalelectronics.ru Git - kernel.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)
commitbe5c6479c0e58b8b75b8b07e9a296686016c1050
tree0e5e9e6427540ed4e9958fc192fb5f0e6a166754
parent4c2911bc961721c75d3593f1afdeb2605cbb00f4
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