From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cornelia Huck Subject: Re: [PATCH v2 net 2/3] virtio_net: fix adding vids on big-endian Date: Thu, 19 Apr 2018 15:26:41 +0200 Message-ID: <20180419152641.092865f3.cohuck@redhat.com> References: <1524115776-334953-1-git-send-email-mst@redhat.com> <1524115776-334953-3-git-send-email-mst@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, Mikulas Patocka , Eric Dumazet , David Miller , Thomas Huth , Jason Wang , virtualization@lists.linux-foundation.org, netdev@vger.kernel.org To: "Michael S. Tsirkin" Return-path: In-Reply-To: <1524115776-334953-3-git-send-email-mst@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Thu, 19 Apr 2018 08:30:49 +0300 "Michael S. Tsirkin" 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 > --- > drivers/net/virtio_net.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Ouch. Have you seen any bug reports for that?