]> git.karo-electronics.de Git - linux-beck.git/commit
vsock/virtio: fix src/dst cid format
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 6 Dec 2016 04:07:15 +0000 (06:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Jan 2017 07:32:23 +0000 (08:32 +0100)
commite80ceb2da52e0aae8e0ae9632c3abbfdd579cf61
tree38156f13b3f119c4869e69bde6a4b6e55db82d7d
parentd06485e0fcf58a88daadcbe119a7d433cdaad8e6
vsock/virtio: fix src/dst cid format

commit f83f12d660d11718d3eed9d979ee03e83aa55544 upstream.

These fields are 64 bit, using le32_to_cpu and friends
on these will not do the right thing.
Fix this up.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/vmw_vsock/virtio_transport_common.c