Re: [PATCH net] virtio-net: restore VIRTIO_HDR_F_DATA_VALID on receiving

From: David Miller
Date: Fri Jan 20 2017 - 11:04:03 EST


From: Jason Wang <jasowang@xxxxxxxxxx>
Date: Fri, 20 Jan 2017 14:32:42 +0800

> Commit 501db511397f ("virtio: don't set VIRTIO_NET_HDR_F_DATA_VALID on
> xmit") in fact disables VIRTIO_HDR_F_DATA_VALID on receiving path too,
> fixing this by adding a hint (has_data_valid) and set it only on the
> receiving path.
>
> Cc: Rolf Neugebauer <rolf.neugebauer@xxxxxxxxxx>
> Signed-off-by: Jason Wang <jasowang@xxxxxxxxxx>

Applied, thanks Jason.