net: rionet: Use is_multicast_ether_addr
Tobias Klauser [Sun, 3 Jul 2011 23:54:54 +0000 (23:54 +0000)]
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>

drivers/net/rionet.c

index 77c5092..bcdc54f 100644 (file)
@@ -190,7 +190,7 @@ static int rionet_start_xmit(struct sk_buff *skb, struct net_device *ndev)
                return NETDEV_TX_BUSY;
        }
 
-       if (eth->h_dest[0] & 0x01) {
+       if (is_multicast_ether_addr(eth->h_dest)) {
                for (i = 0; i < RIO_MAX_ROUTE_ENTRIES(rnet->mport->sys_size);
                                i++)
                        if (rionet_active[i])