IB/uverbs: Use correct alt_pkey_index in modify QP
authorAmi Perlmutter <amip@mellanox.co.il>
Mon, 20 Mar 2006 18:08:24 +0000 (10:08 -0800)
committerRoland Dreier <rolandd@cisco.com>
Mon, 20 Mar 2006 18:08:24 +0000 (10:08 -0800)
commit702b2aaccfbf0fa29c6ffb423a39a7a5573f793a
tree3e4863f5d4dc73d813b13e99d97cfd33c8789d03
parentf36e1793e25513380cae5958a9164d4cc4458ad0
IB/uverbs: Use correct alt_pkey_index in modify QP

The old code incorrectly used the primary P_Key index as the alternate
index too.

Signed-off-by: Ami Perlmutter <amip@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/uverbs_cmd.c