]> git.baikalelectronics.ru Git - kernel.git/commit
virtio: Keep vring_del_virtqueue() mirror of VQ create
authorParav Pandit <parav@nvidia.com>
Wed, 21 Jul 2021 14:26:46 +0000 (17:26 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 10 Aug 2021 15:50:55 +0000 (11:50 -0400)
commitbb4b91603c3b04a2e9342f1fb5f62b593073ae06
tree38b79bff52a3006e22ccaabef67be83919e2cdff
parent16bb3179710efe3fa83d56a033b836c1bc8ea03b
virtio: Keep vring_del_virtqueue() mirror of VQ create

Keep the vring_del_virtqueue() mirror of the create routines.
i.e. to delete list entry first as it is added last during the create
routine.

Signed-off-by: Parav Pandit <parav@nvidia.com>
Link: https://lore.kernel.org/r/20210721142648.1525924-3-parav@nvidia.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_ring.c