diff options
Diffstat (limited to 'drivers/net/virtio_net.c')
-rw-r--r-- | drivers/net/virtio_net.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index 5ca97713bfb3..11e2e8131359 100644 --- a/drivers/net/virtio_net.c +++ b/drivers/net/virtio_net.c | |||
@@ -1759,6 +1759,8 @@ static int virtnet_probe(struct virtio_device *vdev) | |||
1759 | if (virtio_has_feature(vdev, VIRTIO_NET_F_HOST_ECN)) | 1759 | if (virtio_has_feature(vdev, VIRTIO_NET_F_HOST_ECN)) |
1760 | dev->hw_features |= NETIF_F_TSO_ECN; | 1760 | dev->hw_features |= NETIF_F_TSO_ECN; |
1761 | 1761 | ||
1762 | dev->features |= NETIF_F_GSO_ROBUST; | ||
1763 | |||
1762 | if (gso) | 1764 | if (gso) |
1763 | dev->features |= dev->hw_features & NETIF_F_ALL_TSO; | 1765 | dev->features |= dev->hw_features & NETIF_F_ALL_TSO; |
1764 | /* (!csum && gso) case will be fixed by register_netdev() */ | 1766 | /* (!csum && gso) case will be fixed by register_netdev() */ |