Skip to content

Commit abfc89c

Browse files
tklauserdavem330
authored andcommitted
net: rionet: Use is_multicast_ether_addr
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 8bc3e1d commit abfc89c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/net/rionet.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ static int rionet_start_xmit(struct sk_buff *skb, struct net_device *ndev)
190190
return NETDEV_TX_BUSY;
191191
}
192192

193-
if (eth->h_dest[0] & 0x01) {
193+
if (is_multicast_ether_addr(eth->h_dest)) {
194194
for (i = 0; i < RIO_MAX_ROUTE_ENTRIES(rnet->mport->sys_size);
195195
i++)
196196
if (rionet_active[i])

0 commit comments

Comments
 (0)