summaryrefslogtreecommitdiff
path: root/drivers/net/virtio_net.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-12-04 17:23:00 +0300
committerMichael S. Tsirkin <mst@redhat.com>2020-12-18 16:14:30 -0500
commitae93d8ea0fa701e84ab9df0db9fb60ec6c80d7b8 (patch)
tree1bb760aab111dbde79cf27d154bf59de3490f37d /drivers/net/virtio_net.c
parent1a5514cbb09aaf694d26ef26fd6da5c5d495cc22 (diff)
downloadlwn-ae93d8ea0fa701e84ab9df0db9fb60ec6c80d7b8.tar.gz
lwn-ae93d8ea0fa701e84ab9df0db9fb60ec6c80d7b8.zip
virtio_ring: Cut and paste bugs in vring_create_virtqueue_packed()
There is a copy and paste bug in the error handling of this code and it uses "ring_dma_addr" three times instead of "device_event_dma_addr" and "driver_event_dma_addr". Fixes: 1ce9e6055fa0 (" virtio_ring: introduce packed ring support") Reported-by: Robert Buhren <robert.buhren@sect.tu-berlin.de> Reported-by: Felicitas Hetzelt <file@sect.tu-berlin.de> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/X8pGRJlEzyn+04u2@mwanda Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions