net: iseries_veth: Use is_unicast_ether_addr helper
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
58d14d4fba
commit
8bc3e1d8a1
|
@ -1182,7 +1182,7 @@ static int veth_start_xmit(struct sk_buff *skb, struct net_device *dev)
|
|||
struct veth_port *port = netdev_priv(dev);
|
||||
HvLpIndexMap lpmask;
|
||||
|
||||
if (! (frame[0] & 0x01)) {
|
||||
if (is_unicast_ether_addr(frame)) {
|
||||
/* unicast packet */
|
||||
HvLpIndex rlp = frame[5];
|
||||
|
||||
|
|
Loading…
Reference in New Issue