Skip to content
Commit 189ae6bb authored by Jason Wang's avatar Jason Wang
Browse files

virtio-net: fix offload ctrl endian



Spec said offloads should be le64, so use virtio_ldq_p() to guarantee
valid endian.

Fixes: 644c9858 ("virtio-net: dynamic network offloads configuration")
Cc: qemu-stable@nongnu.org
Cc: Dmitry Fleytman <dfleytma@redhat.com>
Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
parent 5f997fd1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment