commit | d7fad4c840f33a6bd333dd7fbb3006edbcf0017a | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Thu Apr 19 08:30:49 2018 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 19 16:33:20 2018 -0400 |
tree | a175512973cb6d5897590ead3ba947de5bb1f503 | |
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>