From: Tobias Klauser Date: Sun, 3 Jul 2011 23:52:03 +0000 (+0000) Subject: net: iseries_veth: Use is_unicast_ether_addr helper X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8bc3e1d8a16e6ef501af1c4d3abd7a90b4db1c0f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git net: iseries_veth: Use is_unicast_ether_addr helper Signed-off-by: Tobias Klauser Signed-off-by: David S. Miller --- diff --git a/drivers/net/iseries_veth.c b/drivers/net/iseries_veth.c index 242bf524273e..53dd39e9130e 100644 --- a/drivers/net/iseries_veth.c +++ b/drivers/net/iseries_veth.c @@ -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];