net: rionet: Use is_multicast_ether_addr
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8bc3e1d8a1
commit
abfc89c7b5
|
@ -190,7 +190,7 @@ static int rionet_start_xmit(struct sk_buff *skb, struct net_device *ndev)
|
||||||
return NETDEV_TX_BUSY;
|
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);
|
for (i = 0; i < RIO_MAX_ROUTE_ENTRIES(rnet->mport->sys_size);
|
||||||
i++)
|
i++)
|
||||||
if (rionet_active[i])
|
if (rionet_active[i])
|
||||||
|
|
Loading…
Reference in New Issue