Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 132537
b: refs/heads/master
c: 4783256
h: refs/heads/master
i:
  132535: 3e12a32
v: v3
  • Loading branch information
Pantelis Koukousoulas authored and David S. Miller committed Mar 19, 2009
1 parent 30a0d89 commit fb127ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 17d04500e2528217de5fe967599f98ee84348a9c
refs/heads/master: 4783256ef92f5aecd6d54693b16386f2a0021c2a
3 changes: 3 additions & 0 deletions trunk/drivers/net/virtio_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,7 @@ static struct ethtool_ops virtnet_ethtool_ops = {
.set_tx_csum = virtnet_set_tx_csum,
.set_sg = ethtool_op_set_sg,
.set_tso = ethtool_op_set_tso,
.get_link = ethtool_op_get_link,
};

#define MIN_MTU 68
Expand Down Expand Up @@ -739,6 +740,8 @@ static int virtnet_probe(struct virtio_device *vdev)
goto unregister;
}

netif_carrier_on(dev);

pr_debug("virtnet: registered device %s\n", dev->name);
return 0;

Expand Down

0 comments on commit fb127ab

Please sign in to comment.