summaryrefslogtreecommitdiffstats
path: root/drivers/net/rionet.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2011-07-04 01:54:54 +0200
committerDavid S. Miller <davem@davemloft.net>2011-07-05 05:27:29 +0200
commitabfc89c7b5347b869d1c48ddae027caf91a2300d (patch)
tree1220f13cc81b737d660a89036ad89ecbe0370c95 /drivers/net/rionet.c
parentnet: iseries_veth: Use is_unicast_ether_addr helper (diff)
downloadlinux-abfc89c7b5347b869d1c48ddae027caf91a2300d.tar.xz
linux-abfc89c7b5347b869d1c48ddae027caf91a2300d.zip
net: rionet: Use is_multicast_ether_addr
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/rionet.c')
-rw-r--r--drivers/net/rionet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/rionet.c b/drivers/net/rionet.c
index 77c5092a6a40..bcdc54f2fe55 100644
--- a/drivers/net/rionet.c
+++ b/drivers/net/rionet.c
@@ -190,7 +190,7 @@ static int rionet_start_xmit(struct sk_buff *skb, struct net_device *ndev)
return NETDEV_TX_BUSY;
}
- if (eth->h_dest[0] & 0x01) {
+ if (is_multicast_ether_addr(eth->h_dest)) {
for (i = 0; i < RIO_MAX_ROUTE_ENTRIES(rnet->mport->sys_size);
i++)
if (rionet_active[i])