Michael S. Tsirkin 55c80adf0d virtio_net: fix adding vids on big-endian
[ Upstream commit d7fad4c840f33a6bd333dd7fbb3006edbcf0017a ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-29 11:33:14 +02:00
..
2018-02-25 11:07:52 +01:00
2017-12-14 09:53:13 +01:00
2018-04-29 11:33:10 +02:00
2017-12-29 17:53:46 +01:00
2018-04-24 09:36:22 +02:00
2018-01-17 09:45:27 +01:00
2018-04-19 08:56:16 +02:00