RDMA/cma: Correct detection of SA Created MGID
authorJason Gunthorpe <jgunthorpe@obsidianresearch.com>
Thu, 19 Nov 2009 20:55:21 +0000 (12:55 -0800)
committerRoland Dreier <rolandd@cisco.com>
Thu, 19 Nov 2009 20:55:21 +0000 (12:55 -0800)
commit1c9b281997b5876c0c8ed62506b56db89d262b57
treebbf5e58d4bee478fec178268acaadefa2ab48fbb
parent0f9ea5d2ab5cef732d5abbe62b9e9af3007bae81
RDMA/cma: Correct detection of SA Created MGID

RDMA CM treats AF_INET6 addresses that are either 0 or prefixed with
FF1x:A01B::/32 as MGIDs, but the detection for the prefix was buggy;
fix it up.

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