[IB] mthca: check P_Key index in modify QP
authorJack Morgenstein <jackm@mellanox.co.il>
Thu, 3 Nov 2005 22:58:33 +0000 (14:58 -0800)
committerRoland Dreier <rolandd@cisco.com>
Thu, 3 Nov 2005 22:58:33 +0000 (14:58 -0800)
commitd09e32764176b61c4afee9fd5e7fe04713bfa56f
tree1818a0043dcbc9789dbc12c6affe5a6924d65366
parent0c99cb6d5fe77872c5a32cff837c05f70158ce15
[IB] mthca: check P_Key index in modify QP

Make sure that the P_Key index passed into mthca_modify_qp() is
within the device's P_Key table.

Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_qp.c