summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2011-07-04 03:52:03 +0400
committerDavid S. Miller <davem@davemloft.net>2011-07-05 07:27:29 +0400
commit8bc3e1d8a16e6ef501af1c4d3abd7a90b4db1c0f (patch)
tree2b6a31a920a8a4d7a8e5476da7f6de7060f3b6b7
parent58d14d4fbaeb0cede14c59e8a2648b4791c0afe2 (diff)
downloadlinux-8bc3e1d8a16e6ef501af1c4d3abd7a90b4db1c0f.tar.xz
net: iseries_veth: Use is_unicast_ether_addr helper
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/iseries_veth.c2
1 files changed, 1 insertions, 1 deletions
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];