summaryrefslogtreecommitdiffstats
path: root/drivers/net/virtio_net.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2014-10-15 01:52:31 +0200
committerRusty Russell <rusty@rustcorp.com.au>2014-10-15 01:55:04 +0200
commit64b4cc3911fe8284dfb3cfdb8065c100b818bab8 (patch)
tree3c884644f7afc11d2c157bcc3b6518529adb2012 /drivers/net/virtio_net.c
parentvirtio_console: enable VQs early (diff)
downloadlinux-64b4cc3911fe8284dfb3cfdb8065c100b818bab8.tar.xz
linux-64b4cc3911fe8284dfb3cfdb8065c100b818bab8.zip
9p/trans_virtio: enable VQs early
virtio spec requires drivers to set DRIVER_OK before using VQs. This is set automatically after probe returns, but virtio 9p device adds self to channel list within probe, at which point VQ can be used in violation of the spec. To fix, call virtio_device_ready before using VQs. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions