diff options
author | Jason Wang <jasowang@redhat.com> | 2017-01-20 06:32:42 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-04 08:47:09 (GMT) |
commit | 1e7cbb413f63d8fa790c8dabc208ce2a02339c26 (patch) | |
tree | dad47281f67d7c7a336f8264305504089a3f5cba /drivers/reset/reset-berlin.c | |
parent | 3eab5dd0eb19b6ebed8ef7e7477d9f3048cc78fa (diff) | |
download | linux-1e7cbb413f63d8fa790c8dabc208ce2a02339c26.tar.xz |
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 'drivers/reset/reset-berlin.c')
0 files changed, 0 insertions, 0 deletions