diff options
author | Jason Wang <jasowang@redhat.com> | 2017-07-14 20:08:18 +0800 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2017-07-17 20:13:56 +0800 |
commit | 189ae6bb5ce1f5a322f8691d00fe942ba43dd601 (patch) | |
tree | 75e7026c81e3a321a13c44112ef21a90b4d0bf3c /exec.c | |
parent | 5f997fd17b9be6a662fa7b5cc1305076cd6c8894 (diff) |
virtio-net: fix offload ctrl endian
Spec said offloads should be le64, so use virtio_ldq_p() to guarantee
valid endian.
Fixes: 644c98587d4c ("virtio-net: dynamic network offloads configuration")
Cc: qemu-stable@nongnu.org
Cc: Dmitry Fleytman <dfleytma@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'exec.c')
0 files changed, 0 insertions, 0 deletions