diff options
Diffstat (limited to 'drivers/net/ethernet/sun/sunvnet.c')
| -rw-r--r-- | drivers/net/ethernet/sun/sunvnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sun/sunvnet.c b/drivers/net/ethernet/sun/sunvnet.c index 38e3ae9155b7..a108db35924e 100644 --- a/drivers/net/ethernet/sun/sunvnet.c +++ b/drivers/net/ethernet/sun/sunvnet.c | |||
| @@ -618,7 +618,7 @@ struct vnet_port *__tx_port_find(struct vnet *vp, struct sk_buff *skb) | |||
| 618 | struct vnet_port *port; | 618 | struct vnet_port *port; |
| 619 | 619 | ||
| 620 | hlist_for_each_entry(port, n, hp, hash) { | 620 | hlist_for_each_entry(port, n, hp, hash) { |
| 621 | if (!compare_ether_addr(port->raddr, skb->data)) | 621 | if (ether_addr_equal(port->raddr, skb->data)) |
| 622 | return port; | 622 | return port; |
| 623 | } | 623 | } |
| 624 | port = NULL; | 624 | port = NULL; |
