Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
[linux-block.git] / drivers / net / virtio_net.c
index 82e520d2cb1229a0c7b9fd0def3e4a7135536478..708a8b2ca25b853209093d4fb0fe8e16a86ff2f9 100644 (file)
@@ -2973,7 +2973,8 @@ static int virtnet_probe(struct virtio_device *vdev)
                return -ENOMEM;
 
        /* Set up network device as normal. */
-       dev->priv_flags |= IFF_UNICAST_FLT | IFF_LIVE_ADDR_CHANGE;
+       dev->priv_flags |= IFF_UNICAST_FLT | IFF_LIVE_ADDR_CHANGE |
+                          IFF_TX_SKB_NO_LINEAR;
        dev->netdev_ops = &virtnet_netdev;
        dev->features = NETIF_F_HIGHDMA;