bridge: use is_multicast_ether_addr
authorstephen hemminger <shemminger@vyatta.com>
Tue, 27 Apr 2010 07:13:06 +0000 (07:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Apr 2010 19:53:24 +0000 (12:53 -0700)
Use existing inline function.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_device.c

index 5b8a6e73b02fb11d043ed21391220c658026ffab..82599405dc150bfdcf4d53eaefc7a4501322c6e9 100644 (file)
@@ -36,7 +36,7 @@ netdev_tx_t br_dev_xmit(struct sk_buff *skb, struct net_device *dev)
        skb_reset_mac_header(skb);
        skb_pull(skb, ETH_HLEN);
 
-       if (dest[0] & 1) {
+       if (is_multicast_ether_addr(dest)) {
                if (br_multicast_rcv(br, NULL, skb))
                        goto out;