From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752325AbeDSN0s (ORCPT ); Thu, 19 Apr 2018 09:26:48 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:43216 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750858AbeDSN0q (ORCPT ); Thu, 19 Apr 2018 09:26:46 -0400 Date: Thu, 19 Apr 2018 15:26:41 +0200 From: Cornelia Huck To: "Michael S. Tsirkin" 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 Subject: Re: [PATCH v2 net 2/3] virtio_net: fix adding vids on big-endian Message-ID: <20180419152641.092865f3.cohuck@redhat.com> In-Reply-To: <1524115776-334953-3-git-send-email-mst@redhat.com> References: <1524115776-334953-1-git-send-email-mst@redhat.com> <1524115776-334953-3-git-send-email-mst@redhat.com> Organization: Red Hat GmbH MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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?