summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2017-01-20 06:32:42 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-02-04 08:47:09 (GMT)
commit1e7cbb413f63d8fa790c8dabc208ce2a02339c26 (patch)
treedad47281f67d7c7a336f8264305504089a3f5cba /security
parent3eab5dd0eb19b6ebed8ef7e7477d9f3048cc78fa (diff)
downloadlinux-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 'security')
0 files changed, 0 insertions, 0 deletions