summaryrefslogtreecommitdiff
path: root/drivers/net/usb/r8152.c
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2017-01-20 09:32:42 +0300
committerDavid S. Miller <davem@davemloft.net>2017-01-20 19:01:17 +0300
commit6391a4481ba0796805d6581e42f9f0418c099e34 (patch)
treef3636be425129c29943f31e61ead044c26b2854e /drivers/net/usb/r8152.c
parent69fed99baac186013840ced3524562841296034f (diff)
downloadlinux-6391a4481ba0796805d6581e42f9f0418c099e34.tar.xz
virtio-net: restore VIRTIO_HDR_F_DATA_VALID on receiving
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>
Diffstat (limited to 'drivers/net/usb/r8152.c')
0 files changed, 0 insertions, 0 deletions