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 <[email protected]> --- 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); _______________________________________________ ewg mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
