OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bc3e1d
)
net: rionet: Use is_multicast_ether_addr
author
Tobias Klauser
<tklauser@distanz.ch>
Sun, 3 Jul 2011 23:54:54 +0000
(23:54 +0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 5 Jul 2011 03:27:29 +0000
(20:27 -0700)
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/rionet.c
patch
|
blob
|
history
diff --git
a/drivers/net/rionet.c
b/drivers/net/rionet.c
index
77c5092
..
bcdc54f
100644
(file)
--- 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])