]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit1d15792668b9c379c6c31ec02f5c228876a1cb66
tree1818a0043dcbc9789dbc12c6affe5a6924d65366
parent92262864061a5ad75838cfd75180415155b81490
[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