summaryrefslogtreecommitdiff
path: root/sys/dev/microcode
diff options
context:
space:
mode:
authoruwe <uwe@NetBSD.org>2022-04-20 22:08:10 +0000
committeruwe <uwe@NetBSD.org>2022-04-20 22:08:10 +0000
commitd62ea836284cb39775eb4752e7307a160802624f (patch)
tree1a540c036b9ad1f711dee81410fa004602bbbfed /sys/dev/microcode
parentb6e8820c0d8a0c799accf772729e005192218c74 (diff)
vio9p: avoid null pointer dereference on attach.
Pass "vqs" argument to virtio_child_attach_start(). The virtio API is not quite clear to me here - there's also a separate setter virtio_child_attach_set_vqs that performs some additional actions. Queue setup for Virtio 1.0 accesses virtio_softc::sc_vqs and we didn't set it. QEMU exposes only the old virtio interface, so it doesn't trigger the problem.
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions