Claudio Imbrenda e5ab564c9e VSOCK: fix loopback on big-endian systems
The dst_cid and src_cid are 64 bits, therefore 64 bit accessors should be
used, and in fact in virtio_transport_common.c only 64 bit accessors are
used. Using 32 bit accessors for 64 bit values breaks big endian systems.

This patch fixes a wrong use of le32_to_cpu in virtio_transport_send_pkt.

Fixes: b9116823189e85ccf384 ("VSOCK: add loopback to virtio_transport")

Signed-off-by: Claudio Imbrenda <imbrenda@linux.vnet.ibm.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-06-22 09:34:08 +09:00
..
2018-06-12 16:19:22 -07:00
2018-05-26 09:16:44 +02:00
2018-06-12 16:19:22 -07:00
2018-06-20 14:41:04 +09:00
2018-06-20 14:41:04 +09:00
2018-05-26 09:16:44 +02:00
2018-03-27 13:18:09 -04:00
2018-06-12 16:19:22 -07:00
2018-05-04 12:54:38 -04:00
2018-06-22 07:17:42 +09:00
2018-06-12 16:19:22 -07:00
2018-05-28 22:59:54 -04:00
2018-06-05 10:21:18 -04:00