Re: [PATCH] virtio-net: drop legacy features in virtio 1 mode

From: Cornelia Huck
Date: Fri Nov 04 2016 - 07:17:37 EST


On Fri, 4 Nov 2016 12:55:36 +0200
"Michael S. Tsirkin" <mst@xxxxxxxxxx> wrote:

> Virtio 1.0 spec says VIRTIO_F_ANY_LAYOUT and VIRTIO_NET_F_GSO are
> legacy-only feature bits. Do not negotiate them in virtio 1 mode. Note
> this is a spec violation so we need to backport it to stable/downstream
> kernels.
>
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
> ---
> drivers/net/virtio_net.c | 30 ++++++++++++++++++++----------
> 1 file changed, 20 insertions(+), 10 deletions(-)

Reviewed-by: Cornelia Huck <cornelia.huck@xxxxxxxxxx>