summaryrefslogtreecommitdiffstats
path: root/drivers/net/rionet.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2011-07-03 23:54:54 +0000
committerDavid S. Miller <davem@davemloft.net>2011-07-04 20:27:29 -0700
commitabfc89c7b5347b869d1c48ddae027caf91a2300d (patch)
tree1220f13cc81b737d660a89036ad89ecbe0370c95 /drivers/net/rionet.c
parent8bc3e1d8a16e6ef501af1c4d3abd7a90b4db1c0f (diff)
downloadlinux-abfc89c7b5347b869d1c48ddae027caf91a2300d.tar.gz
linux-abfc89c7b5347b869d1c48ddae027caf91a2300d.tar.bz2
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])