diff options
author | Stefano Garzarella <[email protected]> | 2022-03-23 18:36:25 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-03-24 18:36:36 -0700 |
commit | 88704454ef8b00ea91537ae0d47d9348077e0e72 (patch) | |
tree | 4775b0f76a941c0bef15d5a4405f947476c0764a /net/lapb/lapb_timer.c | |
parent | c1011c0b3a9c8d2065f425407475cbcc812540b7 (diff) |
vsock/virtio: enable VQs early on probe
virtio spec requires drivers to set DRIVER_OK before using VQs.
This is set automatically after probe returns, but virtio-vsock
driver uses VQs in the probe function to fill rx and event VQs
with new buffers.
Let's fix this, calling virtio_device_ready() before using VQs
in the probe function.
Fixes: 0ea9e1d3a9e3 ("VSOCK: Introduce virtio_transport.ko")
Signed-off-by: Stefano Garzarella <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions