diff options
Diffstat (limited to 'drivers/net/virtio_net.c')
-rw-r--r-- | drivers/net/virtio_net.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index c68808336c8c..e67d16c2e5f3 100644 --- a/drivers/net/virtio_net.c +++ b/drivers/net/virtio_net.c | |||
@@ -612,6 +612,7 @@ static struct ethtool_ops virtnet_ethtool_ops = { | |||
612 | .set_tx_csum = virtnet_set_tx_csum, | 612 | .set_tx_csum = virtnet_set_tx_csum, |
613 | .set_sg = ethtool_op_set_sg, | 613 | .set_sg = ethtool_op_set_sg, |
614 | .set_tso = ethtool_op_set_tso, | 614 | .set_tso = ethtool_op_set_tso, |
615 | .get_link = ethtool_op_get_link, | ||
615 | }; | 616 | }; |
616 | 617 | ||
617 | #define MIN_MTU 68 | 618 | #define MIN_MTU 68 |
@@ -739,6 +740,8 @@ static int virtnet_probe(struct virtio_device *vdev) | |||
739 | goto unregister; | 740 | goto unregister; |
740 | } | 741 | } |
741 | 742 | ||
743 | netif_carrier_on(dev); | ||
744 | |||
742 | pr_debug("virtnet: registered device %s\n", dev->name); | 745 | pr_debug("virtnet: registered device %s\n", dev->name); |
743 | return 0; | 746 | return 0; |
744 | 747 | ||