]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1d46d62c7e43c72f8f6421a5ded945879d99a61c
treebbf5e58d4bee478fec178268acaadefa2ab48fbb
parent5a8e9d8ecdbb332e317a5ca9f31b7505450518d5
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