diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2018-04-19 08:30:49 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-19 16:33:20 -0400 |
commit | d7fad4c840f33a6bd333dd7fbb3006edbcf0017a (patch) | |
tree | a175512973cb6d5897590ead3ba947de5bb1f503 /drivers/scsi/scsi_ioctl.c | |
parent | 12e571693837d6164bda61e316b1944972ee0d97 (diff) |
virtio_net: fix adding vids on big-endian
Programming vids (adding or removing them) still passes
guest-endian values in the DMA buffer. That's wrong
if guest is big-endian and when virtio 1 is enabled.
Note: this is on top of a previous patch:
virtio_net: split out ctrl buffer
Fixes: 9465a7a6f ("virtio_net: enable v1.0 support")
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/scsi_ioctl.c')
0 files changed, 0 insertions, 0 deletions