OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

virtio-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [PATCH v4 1/6] virtio-vsock vhost device: fixed endiannes issue


Added missing endianness initializations in the vhost-vsock device.

Signed-off-by: Claudio Imbrenda <imbrenda@linux.vnet.ibm.com>
---
 drivers/vhost/vsock.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/vhost/vsock.c b/drivers/vhost/vsock.c
index 2c5963c..841b0bf 100644
--- a/drivers/vhost/vsock.c
+++ b/drivers/vhost/vsock.c
@@ -481,6 +481,7 @@ static int vhost_vsock_set_features(struct vhost_vsock *vsock, u64 features)
 		vq = &vsock->vqs[i];
 		mutex_lock(&vq->mutex);
 		vq->acked_features = features;
+		vhost_init_is_le(vq);
 		mutex_unlock(&vq->mutex);
 	}
 	mutex_unlock(&vsock->dev.mutex);
-- 
1.9.1



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]