Re: [PATCH v2 net 2/3] virtio_net: fix adding vids on big-endian

From: Cornelia Huck
Date: Thu Apr 19 2018 - 09:26:54 EST


On Thu, 19 Apr 2018 08:30:49 +0300
"Michael S. Tsirkin" <mst@xxxxxxxxxx> wrote:

> 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@xxxxxxxxxx>
> ---
> drivers/net/virtio_net.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)

Ouch. Have you seen any bug reports for that?