Commit 8bc3e1d8 authored by Tobias Klauser's avatar Tobias Klauser Committed by David S. Miller

net: iseries_veth: Use is_unicast_ether_addr helper

Signed-off-by: default avatarTobias Klauser <tklauser@distanz.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 58d14d4f
...@@ -1182,7 +1182,7 @@ static int veth_start_xmit(struct sk_buff *skb, struct net_device *dev) ...@@ -1182,7 +1182,7 @@ static int veth_start_xmit(struct sk_buff *skb, struct net_device *dev)
struct veth_port *port = netdev_priv(dev); struct veth_port *port = netdev_priv(dev);
HvLpIndexMap lpmask; HvLpIndexMap lpmask;
if (! (frame[0] & 0x01)) { if (is_unicast_ether_addr(frame)) {
/* unicast packet */ /* unicast packet */
HvLpIndex rlp = frame[5]; HvLpIndex rlp = frame[5];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment