]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - net/ipv6/ndisc.c
IPoIB: improve IPv4/IPv6 to IB mcast mapping functions
[linux-2.6.git] / net / ipv6 / ndisc.c
index 777ed733b2d72b3c57a0efb8086d0074669defab..85947eae5bf7d2922f25c88a0d6283cd810395a2 100644 (file)
@@ -337,7 +337,7 @@ int ndisc_mc_map(struct in6_addr *addr, char *buf, struct net_device *dev, int d
                ipv6_arcnet_mc_map(addr, buf);
                return 0;
        case ARPHRD_INFINIBAND:
-               ipv6_ib_mc_map(addr, buf);
+               ipv6_ib_mc_map(addr, dev->broadcast, buf);
                return 0;
        default:
                if (dir) {