[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150204.135942.127858058517785730.davem@davemloft.net>
Date: Wed, 04 Feb 2015 13:59:42 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: mst@...hat.com
Cc: linux-kernel@...r.kernel.org, kvm@...r.kernel.org,
virtualization@...ts.linux-foundation.org, netdev@...r.kernel.org,
viro@...IV.linux.org.uk, cornelia.huck@...ibm.com,
rusty@...tcorp.com.au
Subject: Re: [PATCH for-3.19] vhost/net: fix up num_buffers endian-ness
From: "Michael S. Tsirkin" <mst@...hat.com>
Date: Tue, 3 Feb 2015 11:07:06 +0200
> In virtio 1.0 mode, when mergeable buffers are enabled on a big-endian
> host, num_buffers wasn't byte-swapped correctly, so large incoming
> packets got corrupted.
>
> To fix, fill it in within hdr - this also makes sure it gets
> the correct type.
>
> Signed-off-by: Michael S. Tsirkin <mst@...hat.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists