diff options
author | Jason Wang <jasowang@redhat.com> | 2017-01-20 14:32:42 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-04 09:47:09 +0100 |
commit | 1e7cbb413f63d8fa790c8dabc208ce2a02339c26 (patch) | |
tree | dad47281f67d7c7a336f8264305504089a3f5cba /firmware/matrox | |
parent | 3eab5dd0eb19b6ebed8ef7e7477d9f3048cc78fa (diff) |
virtio-net: restore VIRTIO_HDR_F_DATA_VALID on receiving
[ Upstream commit 6391a4481ba0796805d6581e42f9f0418c099e34 ]
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@docker.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Acked-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'firmware/matrox')
0 files changed, 0 insertions, 0 deletions