[IPOIB] join multicast addr in resume port (not just the 0x01005E addr)
authorsleybo <sleybo@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 13 Dec 2006 07:52:10 +0000 (07:52 +0000)
committersleybo <sleybo@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 13 Dec 2006 07:52:10 +0000 (07:52 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@558 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/ipoib/kernel/ipoib_port.c

index 60ffb9e..eb3981b 100644 (file)
@@ -3773,9 +3773,7 @@ ipoib_port_resume(
                {\r
                        ASSERT( status == NDIS_STATUS_NO_ROUTE_TO_DESTINATION );\r
 \r
-                       if( p_eth_hdr->dst.addr[0] == 0x01 &&\r
-                               p_eth_hdr->dst.addr[1] == 0x00 &&\r
-                               p_eth_hdr->dst.addr[2] == 0x5E )\r
+                       if( ETH_IS_MULTICAST( p_eth_hdr->dst.addr ) )\r
                        {\r
                                if( ipoib_port_join_mcast( p_port, p_eth_hdr->dst ) ==\r
                                        IB_SUCCESS )\r