IB/cm: Use correct reject code for invalid GID
authorSean Hefty <sean.hefty@intel.com>
Mon, 28 Aug 2006 18:57:42 +0000 (11:57 -0700)
committerRoland Dreier <rolandd@cisco.com>
Fri, 22 Sep 2006 22:22:43 +0000 (15:22 -0700)
commit76842405fca5f8b8e08d91558ecd3b922265034a
treea0a8940fd2306903251296eb4f1d37a16cacf234
parentc1f250c0b45cdfdd89b21f2b866f317439aa21de
IB/cm: Use correct reject code for invalid GID

Set the reject code properly when rejecting a request that contains an
invalid GID.  A suitable GID is returned by the IB CM in the
additional reject information (ARI).  This is a spec compliancy issue.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/cm.c