net: iseries_veth: Use is_unicast_ether_addr helper
authorTobias Klauser <tklauser@distanz.ch>
Sun, 3 Jul 2011 23:52:03 +0000 (23:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jul 2011 03:27:29 +0000 (20:27 -0700)
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/iseries_veth.c

index 242bf524273efafcf635293d8c4fd1c39090f98c..53dd39e9130ef7372b01d0c1b0b31b236708a9ff 100644 (file)
@@ -1182,7 +1182,7 @@ static int veth_start_xmit(struct sk_buff *skb, struct net_device *dev)
        struct veth_port *port = netdev_priv(dev);
        HvLpIndexMap lpmask;
 
-       if (! (frame[0] & 0x01)) {
+       if (is_unicast_ether_addr(frame)) {
                /* unicast packet */
                HvLpIndex rlp = frame[5];