summaryrefslogtreecommitdiffstats
path: root/drivers/net/iseries_veth.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2011-07-03 23:52:03 +0000
committerDavid S. Miller <davem@davemloft.net>2011-07-04 20:27:29 -0700
commit8bc3e1d8a16e6ef501af1c4d3abd7a90b4db1c0f (patch)
tree2b6a31a920a8a4d7a8e5476da7f6de7060f3b6b7 /drivers/net/iseries_veth.c
parent58d14d4fbaeb0cede14c59e8a2648b4791c0afe2 (diff)
downloadblackbird-op-linux-8bc3e1d8a16e6ef501af1c4d3abd7a90b4db1c0f.tar.gz
blackbird-op-linux-8bc3e1d8a16e6ef501af1c4d3abd7a90b4db1c0f.zip
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>
Diffstat (limited to 'drivers/net/iseries_veth.c')
-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];
OpenPOWER on IntegriCloud