]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
virtio_net: don't require ANY_LAYOUT with VERSION_1
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 15 Jul 2015 12:26:19 +0000 (15:26 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jul 2015 19:43:33 +0000 (12:43 -0700)
commit75993300d008f418ee2569a632185fc1d7d50674
treeb1551270c7cf2700446df3d7ed4d176cfebfb507
parente2370f07cf703c0920c99bc24de3d152262738f0
virtio_net: don't require ANY_LAYOUT with VERSION_1

ANY_LAYOUT is a compatibility feature. It's implied
for VERSION_1 devices, and non-transitional devices
might not offer it. Change code to behave accordingly.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c