[ewg] [PATCH 2/7] Backport patches for rdma cm patches
David J. Wilder
dwilder at us.ibm.com
Fri Dec 11 14:48:07 PST 2009
Backport for ipv6_ib_mc_map() for kernel v2.6.24 and earlier.
Patch name: core_0000_v2_6_24_ipv6_ib_mc_map.patch
This patch should be placed in the following backports directories:
2.6.16_sles10_sp2
2.6.16_sles10_sp3
2.6.18
2.6.18-EL5.2
2.6.18-EL5.3
2.6.18-EL5.4
2.6.19
2.6.20
2.6.21
2.6.22
2.6.23
2.6.24
2.6.9_U6
2.6.9_U7
2.6.9_U8
Signed-of-by: David Wilder <dwilder at us.ibm.com>
---
diff -Naurp ofa_kernel.orig/drivers/infiniband/core/cma.c ofa_kernel/drivers/infiniband/core/cma.c
--- ofa_kernel.orig/drivers/infiniband/core/cma.c 2009-12-08 16:13:37.000000000 -0600
+++ ofa_kernel/drivers/infiniband/core/cma.c 2009-12-08 16:19:09.000000000 -0600
@@ -2774,7 +2774,7 @@ static void cma_set_mgid(struct rdma_id_
/* IPv6 address is an SA assigned MGID. */
memcpy(mgid, &sin6->sin6_addr, sizeof *mgid);
} else if ((addr->sa_family == AF_INET6)) {
- ipv6_ib_mc_map(&sin6->sin6_addr, dev_addr->broadcast, mc_map);
+ ipv6_ib_mc_map(&sin6->sin6_addr, mc_map);
if (id_priv->id.ps == RDMA_PS_UDP)
mc_map[7] = 0x01; /* Use RDMA CM signature */
*mgid = *(union ib_gid *) (mc_map + 4);
More information about the ewg
mailing list